diff options
author | 2025-04-01 11:37:13 +0200 | |
---|---|---|
committer | 2025-04-07 11:02:07 +0200 | |
commit | ea86aba47c3a724ea18a26ad498c1835f087dc63 (patch) | |
tree | 464466bf457821ec082732346d2bf5e85ad2e2c4 /scripts/lib/kdoc/kdoc_parser.py | |
parent | drm/sysfb: Maintain CRTC state in struct drm_sysfb_crtc_state (diff) | |
download | wireguard-linux-ea86aba47c3a724ea18a26ad498c1835f087dc63.tar.xz wireguard-linux-ea86aba47c3a724ea18a26ad498c1835f087dc63.zip |
drm/sysfb: Merge CRTC functions
Merge the CRTC functions of ofdrm and simpledrm. Replace the code
in each driver with the shared helpers. Set up callbacks with
initializer macros.
Ofdrm supports a gamma LUT, while simpledrm does not. So far ofdrm's
LUT size has been hard-coded in the driver CRTC's atomic_check helper.
Now pass the size of the LUT to the sysfb device. Ofdrm's custom
atomic_flush is still required to apply changes to the LUT. Simpledrm
passes a LUT size of 0, which disables the gamma LUT.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250401094056.32904-11-tzimmermann@suse.de
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions