From: Thierry Reding <thierry.reding@gmail.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Sam Ravnborg <sam@ravnborg.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>
Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
Svyatoslav Ryhel <clamor95@gmail.com>,
dri-devel@lists.freedesktop.org,
Jon Hunter <jonathanh@nvidia.com>
Subject: [PATCH 2/3] drm/panel: Relax porches for HannStar HSD101PWW2
Date: Wed, 26 Jul 2023 20:48:56 +0200 [thread overview]
Message-ID: <20230726184857.2294570-2-thierry.reding@gmail.com> (raw)
In-Reply-To: <20230726184857.2294570-1-thierry.reding@gmail.com>
From: Thierry Reding <treding@nvidia.com>
The porch maximum values for the HannStar HSD101PWW2 are unusually
small. Make them a bit larger to allow a more flexibility when
overriding the timings in device tree. Unfortunately the datasheet
doesn't list porch limits in detail, so this is a bit of guesswork.
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
drivers/gpu/drm/panel/panel-simple.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 4badda6570d5..4bab181e9d4b 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2104,13 +2104,13 @@ static const struct panel_desc hannstar_hsd100pxn1 = {
static const struct display_timing hannstar_hsd101pww2_timing = {
.pixelclock = { 64300000, 71100000, 82000000 },
.hactive = { 1280, 1280, 1280 },
- .hfront_porch = { 1, 1, 10 },
- .hback_porch = { 1, 1, 10 },
- .hsync_len = { 58, 158, 661 },
+ .hfront_porch = { 1, 1, 64 },
+ .hback_porch = { 1, 1, 64 },
+ .hsync_len = { 58, 158, 553 },
.vactive = { 800, 800, 800 },
- .vfront_porch = { 1, 1, 10 },
- .vback_porch = { 1, 1, 10 },
- .vsync_len = { 1, 21, 203 },
+ .vfront_porch = { 1, 1, 32 },
+ .vback_porch = { 1, 1, 32 },
+ .vsync_len = { 1, 21, 159 },
.flags = DISPLAY_FLAGS_DE_HIGH,
};
--
2.41.0
next prev parent reply other threads:[~2023-07-26 18:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-26 18:48 [PATCH 1/3] dt-bindings: display: panel: Move HannStar HSD101PWW2 to LVDS Thierry Reding
2023-07-26 18:48 ` Thierry Reding [this message]
2023-07-26 18:48 ` [PATCH 3/3] ARM: tegra: Use Hannstar HSD101PWW2 on Pegatron Chagall Thierry Reding
2023-07-27 7:12 ` [PATCH 1/3] dt-bindings: display: panel: Move HannStar HSD101PWW2 to LVDS Krzysztof Kozlowski
2023-07-27 7:52 ` Laurent Pinchart
2023-07-27 15:18 ` (subset) " Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230726184857.2294570-2-thierry.reding@gmail.com \
--to=thierry.reding@gmail.com \
--cc=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jonathanh@nvidia.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-tegra@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox