aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-05-20 09:40:04 +0000
committerThomas Zimmermann <[email protected]>2025-05-26 07:18:43 +0000
commit067ae3a7056c6288940da52ad32b6d96bfeebf07 (patch)
treefd600f64bd2af73a94e802d6946460db56a2622a /drivers/gpu/drm/lima/lima_gem.c
parentdrm: Add helpers for programming hardware gamma LUTs (diff)
downloadkernel-067ae3a7056c6288940da52ad32b6d96bfeebf07.tar.gz
kernel-067ae3a7056c6288940da52ad32b6d96bfeebf07.zip
drm/ast: Use helpers for programming gamma ramps and palettes
Replace ast's code for programming the hardware gamma/palette LUT with DRM helpers. Either load provided data or program a default. Set the individual entries with a callback. Each gamma/palette 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. v3: - fix tags (Javier) 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