Re: [PATCH 3/5] drm/mgag200: Use helpers for programming gamma ramps

2025-05-13 Thread Jocelyn Falempe
On 09/05/2025 10:23, Thomas Zimmermann wrote: 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

[PATCH 3/5] drm/mgag200: Use helpers for programming gamma ramps

2025-05-09 Thread Thomas Zimmermann
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 m