From: Daniel Vetter <daniel@ffwll.ch>
To: Michael Riesch <michael.riesch@wolfvision.net>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>,
Daniel Vetter <daniel@ffwll.ch>,
Maxime Ripard <mripard@kernel.org>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Sebastian Reichel <sre@kernel.org>,
Gerald Loacker <gerald.loacker@wolfvision.net>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 0/4] drm/panel: sitronix-st7789v: add support for partial mode
Date: Wed, 2 Aug 2023 16:25:53 +0200 [thread overview]
Message-ID: <ZMpnceQYSuyOmi+F@phenom.ffwll.local> (raw)
In-Reply-To: <20230718-feature-lcd-panel-v1-0-e9a85d5374fd@wolfvision.net>
On Tue, Jul 18, 2023 at 05:31:49PM +0200, Michael Riesch wrote:
> Hi all,
>
> This series adds support for the partial display mode to the Sitronix
> ST7789V panel driver. This is useful for panels that are partially
> occluded by design, such as the Jasonic JT240MHQS-HWT-EK-E3. Support
> for this particular panel is added as well.
>
> Note: This series is already based on
> https://lore.kernel.org/lkml/20230714013756.1546769-1-sre@kernel.org/
>
> Looking forward to your comments!
Summary of my take from a fairly long (and kinda still on-going) irc
discussion:
- Where we do know the exact overscan, the kernel should expose correct
modes and adjust the display pipeline to match if needed when
programming the hardware. Meaning the approach in this patch series.
- For hdmi overscan there's a lot of automagic overscan happening by
default. Drivers can mostly fix this by setting all the right
infoframes, but unfortuantely a very big pile of infoframes is needed.
Assuming drivers actually use the helpers I think only i915 gets them
all, so intel_hdmi_compute_config() at the bottom would be the example
to follow, and maybe some more code to extract from and share.
- That /should/ only leave the really old analog TV and similar horrors
leftover. For those we simply can't even guess the right amount of
overscan (because back then no one cared back then about really seeing
everything), and so that's the only case where we should rely on the
overscan properties. And that case only works when the compositor stack
passes these properties all the way to the user, since only they can
check when the settings are good.
The overscan properties should _not_ be used to fix issues of the previous
kind, that really should all work out of the box as much as possible.
Cheers, Sima
>
> ---
> Michael Riesch (4):
> dt-bindings: vendor-prefixes: add jasonic
> dt-bindings: display: st7789v: add jasonic jt240mhqs-hwt-ek-e3 display
> drm/panel: sitronix-st7789v: add support for partial mode
> drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support
>
> .../bindings/display/panel/sitronix,st7789v.yaml | 1 +
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 67 +++++++++++++++++++++-
> 3 files changed, 68 insertions(+), 2 deletions(-)
> ---
> base-commit: b43dae411767f34288aa347f26b5ed2dade39469
> change-id: 20230718-feature-lcd-panel-26d9f29a7830
>
> Best regards,
> --
> Michael Riesch <michael.riesch@wolfvision.net>
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
next prev parent reply other threads:[~2023-08-02 14:26 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-18 15:31 Michael Riesch
2023-07-18 15:31 ` [PATCH 1/4] dt-bindings: vendor-prefixes: add jasonic Michael Riesch
2023-07-18 15:56 ` Conor Dooley
2023-07-18 15:31 ` [PATCH 2/4] dt-bindings: display: st7789v: add jasonic jt240mhqs-hwt-ek-e3 display Michael Riesch
2023-07-18 16:04 ` Conor Dooley
2023-07-18 15:31 ` [PATCH 3/4] drm/panel: sitronix-st7789v: add support for partial mode Michael Riesch
2023-07-19 6:39 ` Maxime Ripard
2023-08-02 12:34 ` Michael Riesch
2023-08-02 12:47 ` Maxime Ripard
2023-08-02 15:03 ` Michael Riesch
2023-08-04 8:41 ` Neil Armstrong
2023-08-04 9:45 ` Michael Riesch
2023-07-18 15:31 ` [PATCH 4/4] drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support Michael Riesch
2023-08-02 14:25 ` Daniel Vetter [this message]
2023-08-03 8:11 ` [PATCH 0/4] drm/panel: sitronix-st7789v: add support for partial mode Neil Armstrong
2023-08-03 8:48 ` Maxime Ripard
2023-08-03 8:51 ` Daniel Vetter
2023-08-03 9:22 ` Maxime Ripard
2023-08-03 9:30 ` Neil Armstrong
2023-08-03 9:38 ` Maxime Ripard
2023-08-03 10:26 ` Daniel Vetter
2023-08-03 11:43 ` Maxime Ripard
2023-08-03 12:34 ` Neil Armstrong
2023-08-03 12:44 ` Maxime Ripard
2023-08-03 14:55 ` Daniel Vetter
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=ZMpnceQYSuyOmi+F@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gerald.loacker@wolfvision.net \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.riesch@wolfvision.net \
--cc=miquel.raynal@bootlin.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=sre@kernel.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
all inboxes | Powered by JetHome®