diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-05-20 11:40:07 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-05-26 09:19:25 +0200 |
| commit | c06cb85ad1412c6ff34792b028b2f89495761398 (patch) | |
| tree | a9270c9779247c165fdf05835814c3804f44915e /include/drm | |
| parent | drm/ofdrm: Use helpers for programming gamma ramps (diff) | |
| download | linux-c06cb85ad1412c6ff34792b028b2f89495761398.tar.gz linux-c06cb85ad1412c6ff34792b028b2f89495761398.zip | |
drm/vesadrm: Use helpers for programming gamma ramps
Replace vesadrm's code for programming the hardware gamma LUT with
DRM helpers. Either load a provided gamma ramp or program a default.
Set the individual entries with a callback.
Each gamma value is given as 3 individual 16-bit values for red,
green and blue. The driver reduces them to 8 bit to make them fit
into hardware registers.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250520094203.30545-6-tzimmermann@suse.de
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions
