On Fri, May 20, 2016 at 9:35 AM, Jyri Sarha <jsarha@xxxxxx> wrote: > On 05/20/16 10:05, Daniel Vetter wrote: >> On Fri, May 20, 2016 at 09:35:56AM +0300, Jyri Sarha wrote: >>> > Implement gamma_lut atomic crtc property, set crtc gamma size to 256 >>> > for all crtcs and use drm_atomic_helper_legacy_gamma_set() as >>> > gamma_set func. The tv-out crtc has 1024 element gamma table (with >>> > 10bit precision) in HW, but current Xorg server does not accept >>> > anything else but 256 elements so that is used for all CRTCs. The dss >>> > dispc API converts table of any length for HW and uses linear >>> > interpolation in the process. >>> > >>> > Signed-off-by: Jyri Sarha <jsarha@xxxxxx> >> I think you also want to wire up drm_atomic_helper_legacy_gamma_set so >> that legacy clients using the gamma ioctl will work with this support. > > But it is there couple of lines down, or am I missing something? Coffee didn't work yet over here - I looked for it and was blind ;-) -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel