Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3229017imu; Sat, 24 Nov 2018 00:36:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ujdpd51aXLsihXVYwEoj3mbt/UC0/aIHCcuhJvIRt74QZebLLVGGzxqCa4zm9bAUQpmK0B X-Received: by 2002:a17:902:1745:: with SMTP id i63mr16383750pli.145.1543048565809; Sat, 24 Nov 2018 00:36:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543048565; cv=none; d=google.com; s=arc-20160816; b=Me5sJzzKqAvDeGWnOw3yunxFSnz5J2aY3SN5+PjmCQqBgkpUcYMygJ6goHXISIIJ5S EQpPcVkCJJLDEvcgfVR5ORd3Q/UvZEb/AanC/TgT8NHZZalgs5514JAt9omKMQQEgjBG /inyXT5AUbsHELRrNoo9Wau9OO7GzQGdKcv13ueVfV9sWXFye7g7IuSjKo18lmH78ajw 8qO4p5qRWMGb/6Ca2bS86McU37VEfFCi3l3k+WU5ZE6ob3RhI5VnsrWBTOT7plj+T+Ss 705NYvsV/Oz7vImHeWrZCYaZlZHAzBIC+SiLc3n5paPlW9k9lvGrEAxhAEQJomfdU7QR 23xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8AdCTUXJeqz+3rmXMfSlJMp0BXna5RN40apzl2CMN40=; b=vME7C8m3kqgNiClFVePPNdpjVRGr2us16e7UZxBoxKSp0Q1U14zHUQ6+X5Bsud5p5f 2ryHRU8sn5j4wFw9oWbJ8SfhkdybIZn8WxBiCRv4VnhWoNxf9ntrcyKYAL7lhH+VXQ4X 5SqJvWyTwicteMV9LzVcb2SOwtDclJItcBZv6Ux6+RMuxzqmSjryyN4PZ5rf9MaU3d0c Sp6fBsDfBTQac/RFJiHI++7XvPN0h1lZNIKaur1TRfrA52cukR/UTu94uUnJ+tGrApUv 1Lj+6hpR0gL62mPjlwJZlF7V2LUaJLiq4Icb2KUePHJA428H3sxaPKzIjYvtFLVejgR4 T/bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mdragon-org.20150623.gappssmtp.com header.s=20150623 header.b=GItfzOTu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c68-v6si59672297pfa.267.2018.11.24.00.35.51; Sat, 24 Nov 2018 00:36:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mdragon-org.20150623.gappssmtp.com header.s=20150623 header.b=GItfzOTu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2504527AbeKXAHy (ORCPT + 99 others); Fri, 23 Nov 2018 19:07:54 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40134 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394528AbeKXAHx (ORCPT ); Fri, 23 Nov 2018 19:07:53 -0500 Received: by mail-wm1-f68.google.com with SMTP id q26so11943716wmf.5 for ; Fri, 23 Nov 2018 05:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mdragon-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8AdCTUXJeqz+3rmXMfSlJMp0BXna5RN40apzl2CMN40=; b=GItfzOTuO7WThvYJbvdln6FsLRxv8dMgN1NgNJTg64Jt3XutiWoal2nK0riIewURV6 8KFmmWWJUvMTCimvLe37PI3Zm1MfGa5hHl/sMwjHHavytv6lWNmUkDc+C7LsKYjNt3B5 UGuOMYx9Y+NnNhSfyX9n1qJRfHBzc5Pjgx4sHIKk3jfSjibfrxOuNCaSaza6FkEJA1tn GYivp76AWYoJMrBKvcDJzwaJ01vV/ecH8FQ4DCEOcDH+tkCfVACNON5JQIsmVHXXd2q8 IhFdD3+iY6okps4XTysKLq57JLsar4H73JQxtqJmj0yDO9qzfiJFzr+Bsb/sjPXNfr2y RH0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8AdCTUXJeqz+3rmXMfSlJMp0BXna5RN40apzl2CMN40=; b=FB2eY3pibzsQR2wLRGVF0YKdhGoeAckw2AYtoPnSHb+SnNo9zgf/aI0n2MhBgZxGUs 308+WRpnwNKUP8Bi9vyaqE030K2sqkWSuu9bhLS3PSYxSzvm/M+XLGA9eqLobnQZ7WZV IYk2QxGKjydWTuFOJg2QyF9/KGncSWqP9y5SDGfFOnbVy0pK9jkmUw/Oti87yFKWcKsT 6c5Afv+Ek0YvFc8086ly2ev/XtkYy/FoMA0LGL0t8dxkaIVMhFz73eHwJZuSKUDc2z/X JEb0IjctSh2DxA+p1gGjQDoVTRL+vtM6UP3IMvrCTd9g390l7v9llnUKttXQKi8IfZvO BdSQ== X-Gm-Message-State: AA+aEWYQgVeAbIq3qjAX8dpMTWBHi/08V4Bhxm9fuxhmx8Dmx878rfvO piZ/IWhgLcqDacOGw7wGC/W40jKevO9bJ8ZL+31lMQ== X-Received: by 2002:a1c:e90d:: with SMTP id q13mr14380305wmc.106.1542979421424; Fri, 23 Nov 2018 05:23:41 -0800 (PST) MIME-Version: 1.0 References: <1542793169-13008-1-git-send-email-christianshewitt@gmail.com> <2a9d9fa9-c9ba-c624-28da-dd3804faf438@baylibre.com> In-Reply-To: From: Michal Lazo Date: Fri, 23 Nov 2018 14:23:30 +0100 Message-ID: Subject: Re: [PATCH] drm/meson: add support for 1080p25 mode To: narmstrong@baylibre.com Cc: christianshewitt@gmail.com, airlied@linux.ie, khilman@baylibre.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, carlo@caione.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I checked 1080p30/1080p60 and values are same I didn't check others so clean duplicates or make duplicates :) On Fri, Nov 23, 2018 at 2:15 PM Neil Armstrong wrote: > > Hi Michal, > > On 23/11/2018 13:57, Michal Lazo wrote: > > I would suggest same aproach as for > > "meson_hdmi_encp_mode_1080p30" > > and "meson_hdmi_encp_mode_1080p60" > > > > so duplicate "meson_hdmi_encp_mode_1080p50" > > with name "meson_hdmi_encp_mode_1080p25" > > The configs are litterally the same for 1080p25 and 1080p60 unlike 1080p30/1080p60, > so I don't see the point about duplicating a same table for the sake of naming. > > We will the exact same thing to support the 2160p50/2160p60 modes by reusing the > same config are 2160p25/2160p50, and I don't see the point of duplication the > tables here aswell. > > Neil > > > > > now the code looks really like common copy paste problem > > Michal Lazo > > On Wed, Nov 21, 2018 at 10:47 AM Neil Armstrong wrote: > >> > >> On 21/11/2018 10:39, Christian Hewitt wrote: > >>> This essential mode for PAL users is missing, so add it. > >>> > >>> Signed-off-by: Christian Hewitt > >>> --- > >>> drivers/gpu/drm/meson/meson_venc.c | 1 + > >>> 1 file changed, 1 insertion(+) > >>> > >>> diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c > >>> index acbbad3..ab16046 100644 > >>> --- a/drivers/gpu/drm/meson/meson_venc.c > >>> +++ b/drivers/gpu/drm/meson/meson_venc.c > >>> @@ -714,6 +714,7 @@ struct meson_hdmi_venc_vic_mode { > >>> { 5, &meson_hdmi_encp_mode_1080i60 }, > >>> { 20, &meson_hdmi_encp_mode_1080i50 }, > >>> { 32, &meson_hdmi_encp_mode_1080p24 }, > >>> + { 33, &meson_hdmi_encp_mode_1080p50 }, > >>> { 34, &meson_hdmi_encp_mode_1080p30 }, > >>> { 31, &meson_hdmi_encp_mode_1080p50 }, > >>> { 16, &meson_hdmi_encp_mode_1080p60 }, > >>> > >> > >> Exact, I forgot this mode... > >> > >> Thanks for the change ! > >> > >> Acked-by: Neil Armstrong > >> > >> I'll add : > >> Fixes: 335e3713afb87 ("drm/meson: Add support for HDMI venc modes and settings") > >> when applying to drm-misc-fixes. > >> > >> Neil > >> > >> _______________________________________________ > >> linux-amlogic mailing list > >> linux-amlogic@lists.infradead.org > >> http://lists.infradead.org/mailman/listinfo/linux-amlogic > > > > > > > -- Best Regards Michal Lazo Senior developer engineer mdragon.org Slovakia