aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-05-20 09:40:05 +0000
committerThomas Zimmermann <[email protected]>2025-05-26 07:19:24 +0000
commit1bdb883d6574408e81caac6a09f86955687680a2 (patch)
tree58ae04be6392752f4c0bcdf28bd08fe073e05f3a /drivers/gpu/drm/lima/lima_gem.c
parentdrm/ast: Use helpers for programming gamma ramps and palettes (diff)
downloadkernel-1bdb883d6574408e81caac6a09f86955687680a2.tar.gz
kernel-1bdb883d6574408e81caac6a09f86955687680a2.zip
drm/mgag200: Use helpers for programming gamma ramps
Replace mgag200'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. v2: - fix coding style Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[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