Thomas Zimmermann <[email protected]> writes: > 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. > > Signed-off-by: Thomas Zimmermann <[email protected]> > --- > drivers/gpu/drm/sysfb/ofdrm.c | 78 +++++++++++++---------------------- > 1 file changed, 29 insertions(+), 49 deletions(-) > > diff --git a/drivers/gpu/drm/sysfb/ofdrm.c b/drivers/gpu/drm/sysfb/ofdrm.c > index fddfe8bea9f7..96fafdc8dd5e 100644 > --- a/drivers/gpu/drm/sysfb/ofdrm.c > +++ b/drivers/gpu/drm/sysfb/ofdrm.c > @@ -8,6 +8,7 @@
Looks good to me. Reviewed-by: Javier Martinez Canillas <[email protected]> -- Best regards, Javier Martinez Canillas Core Platforms Red Hat
