Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1368050ybl; Fri, 24 Jan 2020 22:28:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzBYPK8nelu7GZSCz2S/ZkSpuXaudEgVo3RuePbe8Za2GEpIO30DX9AdoAGX6GAuMqcTiLR X-Received: by 2002:aca:5588:: with SMTP id j130mr1587836oib.122.1579933733237; Fri, 24 Jan 2020 22:28:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579933733; cv=none; d=google.com; s=arc-20160816; b=R6JSYRaiZrW+0jcsza/6NFCwhsQmUIaznFtroUw7kmG9tkaqtIuBGk8ddLqjq79LM0 KU2x4srbtUKmQQZ7q4cicMW9ZwjDUhbji2Nj9qPsI4uwefse4GDxa6s+cjOGFZ0VMhhT jjUoXW2RsILDG8I6jTfdnvaLxPq0PDgDrKEZNKE9HNB04hIGPna3Ne2w11D1QCfWZte3 HWrlVH1GLEBC32GiUNkvuq5j1KNWCJ1S2rUNaoX9SHRNGWxgBEjtinWYeC0IdzqJiHcr m69j6v/z0ipanTaa2xw9eRcqf8b5lbkAMmKsckw4wjqFhHOB56l/YxelnI1KTP+W3+1c pXfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=DzvHTeOy0S4K+K9B2rys+nkauylSM4HqsK+X8ejT7MY=; b=RtNQT3jVuuYI/mXi3Fj4xU/4WJUK5WDwL056quxLopI/RuS7ik2pZPIcVj7r70OUD5 qduOoZLyiVKvM0p4HH/cHMYZLekhduC9D/cuOS7huU3E9n9LBYTEKXhqjVVBUq376sq+ fwvyOJ4eMVHWEVmlRzFB/rY5WgHONVc0fwqbukjwdyw3vyXeC1c0lV9esEgdORopJpjw Yy325+dsGNhPvI28fkK3QwgAWTOq81hqUtBvev7EacO2zyoUrFUfuddoo5koeuVoLxu3 7vkDrbD6pI6t5gXgjP6lPYge120B84R6Szzaa08jKrWiUWZneMYWC1Sfp8wMVeWd07pg T++w== ARC-Authentication-Results: i=1; mx.google.com; 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 d14si4125375otp.151.2020.01.24.22.28.05; Fri, 24 Jan 2020 22:28:53 -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; 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 S1726911AbgAYGMn (ORCPT + 99 others); Sat, 25 Jan 2020 01:12:43 -0500 Received: from asavdk3.altibox.net ([109.247.116.14]:55026 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725781AbgAYGMm (ORCPT ); Sat, 25 Jan 2020 01:12:42 -0500 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id AD421200BF; Sat, 25 Jan 2020 07:12:37 +0100 (CET) Date: Sat, 25 Jan 2020 07:12:36 +0100 From: Sam Ravnborg To: Nicolas Boichat Cc: Jitao Shi , Thierry Reding , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/panel: Fix boe,tv101wum-n53 htotal timing Message-ID: <20200125061236.GA25729@ravnborg.org> References: <20200125050256.107404-1-drinkcat@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200125050256.107404-1-drinkcat@chromium.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=eMA9ckh1 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=cm27Pg_UAAAA:8 a=O7XAfuiZUNRsPy4Z4nUA:9 a=CjuIK1q_8ugA:10 a=xmb-EsYY8bH0VWELuYED:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nicolas. On Sat, Jan 25, 2020 at 01:02:56PM +0800, Nicolas Boichat wrote: > The datasheet suggests 60 for tHFP, so let's adjust the number > accordingly. > > This also makes the framerate be 60Hz as intended: > 159916.0 * 1000 / ((1200 + 80 + 24 + 60)*(1920 + 20 + 4 + 10)) > => 60.00 Hz > > Signed-off-by: Nicolas Boichat Thanks. Added Fixes: tag and applied to drm-misc-next. Sam > > --- > > This also matches the values that we use in our chromeos-4.19 > vendor kernel. > > Applies on top or drm-misc/drm-misc-next. > > drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > index 01faf8597700005..48a164257d18c35 100644 > --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > @@ -645,7 +645,7 @@ static const struct drm_display_mode boe_tv101wum_n53_default_mode = { > .hdisplay = 1200, > .hsync_start = 1200 + 80, > .hsync_end = 1200 + 80 + 24, > - .htotal = 1200 + 80 + 24 + 40, > + .htotal = 1200 + 80 + 24 + 60, > .vdisplay = 1920, > .vsync_start = 1920 + 20, > .vsync_end = 1920 + 20 + 4, > -- > 2.25.0.341.g760bfbb309-goog