[PATCH/RFC 2/3] drm/simple-kms-helper: Add mode_fixup() to simple display pipe

Maxime Ripard maxime at cerno.tech
Mon Nov 28 08:21:08 UTC 2022


Hi,

On Fri, Nov 25, 2022 at 09:31:09PM +0100, Geert Uytterhoeven wrote:
> From: Thomas Zimmermann <tzimmermann at suse.de>
> 
> The mode fix-up function for simple display helpers is equivalent to the
> regular pipeline's CRTC mode fix-up function. It's called to adjust the
> CRTC's display mode for the encoder. Add this function for DRM fbconv
> helpers.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>

It's not clear to me why you'd need a mode_fixup in the first place.
Like said in the documentation you added, atomic_check is usually the
better option for the atomic modesetting drivers.

So, why is it needed?

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20221128/c2038278/attachment-0001.sig>


More information about the dri-devel mailing list