Re: [PATCH 4/4] drm/omapdrm: Implement gamma_lut atomic crtc property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux