Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5489410imu; Mon, 26 Nov 2018 00:53:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vh6tJFMzGj4wtuukVNxH5rN8Gyz13WqkECOrhWAQJPwVcEXI28kFHwVZYrDOh+QzGJUCoJ X-Received: by 2002:a63:6ac5:: with SMTP id f188mr24201072pgc.165.1543222410130; Mon, 26 Nov 2018 00:53:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543222410; cv=none; d=google.com; s=arc-20160816; b=Zyem9iS79EqdRlP6EsyjWzF9KUYOXPgyGYc6pxID0o68x+PBEZ6lzPL/5jgZ+X6SrJ Sh+H+W/MabDJRK9WSWdke/xzSHkpdwJKKscJy9KsTZGZ3WzU4VkdZuvtjz5ReO+f2DPE h7dMykCDuPNTl1JL/d7lqMT8mpP7l/57zoPt8goGo1FPUQ+fbgg6Vt+y64S/HF8+2vJt edUDw2p/Hn9a7aYHGhLo4s9JXbAxgTCCMR2PllPI6WEA47AIyKpzIVThEPxGZkdTl0XJ BX3LvtgTRowg9EGD69SIini+t9ASpFHDpQ6ZPeWjihou8Op2wUHZtjNByCEIkPv13Hsv UATg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=vlIKrk94dp/prLdkcyEzxN99TfCAk4jA/d3dwIi+MkE=; b=XMq3rALAqLQsQEz0NGjBDZ4wLcVlgV6lQGUrKtkDcifzVMIPmU4COyPKoJSEF1kz+c hxCbqJIjiwUV2IHKUI61kKrAvcO9JM0pt1T87t+ZqS7GZOaRQDmBdJ7b3zuTosnqSlZr ZvGYVMpr5SN7CTW4dZTM+KfUF90ogFPFk+cESzEDSj5As9TctTxmT9BW6nhZ3HizK4hY vXsd/Dg1n5EsaGdVZv7GdF8wtSnCbyXXrINdw+3Nb4WHNmIaMCad64mpUfTlDTXrejHC a41AgAsDO7050w5ne9rtXaq8QHnmtLmxyKIpiWtk+PXd2ZgHXdfRE6ZI0kt3kF/nLdmc IU2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=jK+bXmcE; 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 d2-v6si70422817pfa.150.2018.11.26.00.53.07; Mon, 26 Nov 2018 00:53:30 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=jK+bXmcE; 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 S1726229AbeKZTpq (ORCPT + 99 others); Mon, 26 Nov 2018 14:45:46 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53721 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeKZTpq (ORCPT ); Mon, 26 Nov 2018 14:45:46 -0500 Received: by mail-wm1-f67.google.com with SMTP id y1so14032244wmi.3 for ; Mon, 26 Nov 2018 00:52:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=vlIKrk94dp/prLdkcyEzxN99TfCAk4jA/d3dwIi+MkE=; b=jK+bXmcEbWw/1Dguam1QcRsb4OPTLy/hs4tQw3VFTYGu5eiSkm4Mkunp++qM81tgOa ucNq3IV2m6WVmA5t4Ih7HO8XHsE7e9ZU+fDRw5Jq+OFiu+6fKiyR066Xt7cqUrTaTKPu tJhB6Mb49B9mgBlzMT35SKxjmdM81RgWuXkNh77CaZg6v/+HCkDtFUslbfnk4XDYiVpO pK5tECfEa3TpRmUXXvsodQZ7q960v6plqa59u3H6kO4Cmxwh2RiT/zlFC5IMH2thnNzx MLy6niq3tS+B6PXEd4/Pdg2/eXGh+M9OsXoY5Gfexpm7JIqRWRikV9T+t5N3GEbtLrRk 4X6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=vlIKrk94dp/prLdkcyEzxN99TfCAk4jA/d3dwIi+MkE=; b=pgnXYNEqUYNtWxVnJPpZzdcGNYyRwNM88ji2F+vdV99a4xUkBpOQOgTPn6GDj9WXuy MixVHyzm5Pd4zyT1q7x71/20g1LL4UdSnwhk4wTmcNNaArzJ8NN9+ZBfIV/Pjq01f0+L hP9/ivjKml1tynRMXoXyo8ZOZ7xmhaIYfsZR1IMRByIrLFZjikT3XFNblLNrtlPurGga lCIDQIUwRI8V+k/kTlBtlQbb93uWdiG7GKAoTqLsW5eCslLRy8D7USV57rslGaE65mbA TlDEKl1wNkSR6IY+7XFnOLS47Ofr+i3zHJkFqHgwbz0NhuROqJMX3GaS2QnBYIjoV72o jSPA== X-Gm-Message-State: AA+aEWbaeLdyZg6RkorSRyXAGagqjZIPnRM9uGmic+1/7ZzGZ1UqjG5b rTFjNLoXJzH5wSHXMKI/RlAuK2tO+QGkdA== X-Received: by 2002:a1c:2981:: with SMTP id p123mr6591032wmp.19.1543222338498; Mon, 26 Nov 2018 00:52:18 -0800 (PST) Received: from [10.1.2.12] (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id q20-v6sm52580wmc.33.2018.11.26.00.52.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 00:52:17 -0800 (PST) Subject: Re: [PATCH] drm/meson: add support for 1080p25 mode To: Michal Lazo 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 References: <1542793169-13008-1-git-send-email-christianshewitt@gmail.com> <2a9d9fa9-c9ba-c624-28da-dd3804faf438@baylibre.com> From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuUkjHfIRXdslbrxi4pk5VKU6ZP9AKsN NtMZntB8WrBT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on, 26 Nov 2018 09:52:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, On 23/11/2018 14:23, Michal Lazo wrote: Please do not top-post ! > I checked 1080p30/1080p60 and values are same > I didn't check others > so clean duplicates > or make duplicates :) I'll be happy to apply your patches ! Neil > > > 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 >>> >>> >>> >> > >