diff options
| author | Thomas Zimmermann <[email protected]> | 2025-05-20 09:40:06 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-05-26 07:19:24 +0000 |
| commit | a4871e6201c46c8e1d04308265b4b4c5753c8209 (patch) | |
| tree | d9c107f9d8118266ff59e6259eeb01453c4fec92 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/mgag200: Use helpers for programming gamma ramps (diff) | |
| download | kernel-a4871e6201c46c8e1d04308265b4b4c5753c8209.tar.gz kernel-a4871e6201c46c8e1d04308265b4b4c5753c8209.zip | |
drm/ofdrm: Use helpers for programming gamma ramps
Replace ofdrm'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: 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
