Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1318762ybl; Fri, 24 Jan 2020 21:05:23 -0800 (PST) X-Google-Smtp-Source: APXvYqxMVslgVI7ZtsQs8ylUx9KUoZisyHEZDB+Yoo3nGHjtzB8eVvKVs+hFpNsJZ+4JkqueKAWQ X-Received: by 2002:aca:530e:: with SMTP id h14mr1491544oib.105.1579928723001; Fri, 24 Jan 2020 21:05:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579928722; cv=none; d=google.com; s=arc-20160816; b=Fep6qwtwuJx3y9uAtremGcs+QldAYe91yW9zf4DrDjKkI7OazVhvf/Ns3ez1f4w4BO k7wMuoPKcSP5YNNyqZ1TNC89qbBOZJ/8DilnNcwP0hKJWDduRK0zDggvey2RHuOwR7tv AYRaBl5YVIPup2+aB/vaoxOBHZwgi4BfCqxdTFCL/gUW6M2CY0ZDC1UKhbTOkErDZFKH nBGiq7R1AoSYSNU2vrsypDb1q9DAgLL64LmFnQljucueYkH6mSDDYrAmxvaqcuTF4dNj RrEXcSk62yc9BkCYf8W7wVat99h2gKcp94wB/njKAdCXHhjjMLowYBEfRCfZMlp98LFM 4dOQ== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=05BwadZAGfXvZZEsxjYXT6rUqTTFlTQilEFLvptCJPo=; b=jd4HT1IaeeB5g+yM2+0gz/vn1bwDc+Rn03NlXNg+xHKUzNmZsxtROicKF7ljScao5q oy/srvA21wrA3B7wE9fx1rjnzsU0yuTtCDAi5Y24O+9Vhcf8jyREpzKq7o8V337I7C6K fHFFcElO0baFadKdGCjuRHuCINY4TUxD6TPcHMOA32VeEuWt47hewMlQ5/AEAzgrTnPY rfA6X0YeV9kd4vjGG8bbULUdVN9PyxHypYyj0X01dpw2223aaQ6QaCGZZZMfE6ICaSAz ZH8REatp7UciAcwofpyYlgpsHe8GPXAa40eI8P5vWlQsjv22lBZKOdJqL4zMPeCFAxhu KRJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YqVP5RP5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q7si3994355oti.268.2020.01.24.21.04.33; Fri, 24 Jan 2020 21:05:22 -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=@chromium.org header.s=google header.b=YqVP5RP5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725887AbgAYFDC (ORCPT + 99 others); Sat, 25 Jan 2020 00:03:02 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:44479 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgAYFDC (ORCPT ); Sat, 25 Jan 2020 00:03:02 -0500 Received: by mail-pg1-f196.google.com with SMTP id x7so2174444pgl.11 for ; Fri, 24 Jan 2020 21:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=05BwadZAGfXvZZEsxjYXT6rUqTTFlTQilEFLvptCJPo=; b=YqVP5RP5xWZB4sBJe1HZmHil9OccC9kl0tb3x7bCu9FXcd3tLyp/E4T+9HCW29SFiH /R9M1zD7d+9dK50ijCitMnpwNHvthrOgqaPSCINcxLd3uWupPEqxFwzNeK4rSmJfFwNq sUT/Lp79stAriASB+JUvBFs9zWbljhPJ/M7HI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=05BwadZAGfXvZZEsxjYXT6rUqTTFlTQilEFLvptCJPo=; b=Q/hDslcuPscgPhwCAFPNCnj2UgwAa5OB0LW/0jVeLIsqL7nI+nYXqDoOtcK+Eiy/hh E7qGcREjgc9g7jFSUVErxN0dti+++DlbkG/iJCGr2dqNoixx6oEmyAxfDEMQ8ZsI3I8X 2rOx9RsQ0GnVfbugoz7oy2QZUluMGmHaFmpDilPaCSZOJaWXvRwM5W+UCu5Fe7xa5Jx6 htTEN+g8Ry3Xhpmwp+yjrlM8GW0e86ZBOtHzhvSOuywizt//6bfjWD02a3rpxfeqIokD 1QGjhDygeAJvE+ySkr/w5t/vYvUmG6JP6q65qIqnC1duYX4KNnpprJmzg3NEpByOAmSq ZuBQ== X-Gm-Message-State: APjAAAVwA1onWXxetDWuX56x5felsluNBfTkC4u9cLWQ6RlHBYZD6jFO tm54UyxwzZtniOaBBp8WtNlXiA== X-Received: by 2002:a62:7681:: with SMTP id r123mr6479112pfc.169.1579928581217; Fri, 24 Jan 2020 21:03:01 -0800 (PST) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id u12sm7896585pfm.165.2020.01.24.21.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2020 21:03:00 -0800 (PST) From: Nicolas Boichat To: Sam Ravnborg Cc: Jitao Shi , Thierry Reding , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/panel: Fix boe,tv101wum-n53 htotal timing Date: Sat, 25 Jan 2020 13:02:56 +0800 Message-Id: <20200125050256.107404-1-drinkcat@chromium.org> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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