diff options
| author | Thomas Zimmermann <[email protected]> | 2025-05-20 09:40:07 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-05-26 07:19:25 +0000 |
| commit | c06cb85ad1412c6ff34792b028b2f89495761398 (patch) | |
| tree | a9270c9779247c165fdf05835814c3804f44915e /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/ofdrm: Use helpers for programming gamma ramps (diff) | |
| download | kernel-c06cb85ad1412c6ff34792b028b2f89495761398.tar.gz kernel-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 <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
