Re: DRM COLOR_RANGE property

2018-07-05 Thread Ville Syrjälä
On Wed, Jul 04, 2018 at 01:06:42PM +0200, Daniel Vetter wrote: > On Wed, Jul 4, 2018 at 11:58 AM, Russell King - ARM Linux > wrote: > > On Wed, Jul 04, 2018 at 11:24:10AM +0200, Daniel Vetter wrote: > >> On Wed, Jul 04, 2018 at 10:05:41AM +0100, Russell King - ARM Linux wrote: > >> > On Wed, Jul

Re: DRM COLOR_RANGE property

2018-07-05 Thread Russell King - ARM Linux
On Wed, Jul 04, 2018 at 11:24:10AM +0200, Daniel Vetter wrote: > On Wed, Jul 04, 2018 at 10:05:41AM +0100, Russell King - ARM Linux wrote: > > On Wed, Jul 04, 2018 at 10:26:04AM +0200, Daniel Vetter wrote: > > > On Tue, Jul 03, 2018 at 05:18:57PM +0100, Russell King - ARM Linux wrote: > > > > Can

Re: DRM COLOR_RANGE property

2018-07-05 Thread Russell King - ARM Linux
On Wed, Jul 04, 2018 at 10:26:04AM +0200, Daniel Vetter wrote: > On Tue, Jul 03, 2018 at 05:18:57PM +0100, Russell King - ARM Linux wrote: > > Can someone provide a deeper explanation about exactly what this > > property represents please? > > > > Does this represent the range of YCbCr values

Re: DRM COLOR_RANGE property

2018-07-04 Thread Jyri Sarha
On 03/07/18 19:18, Russell King - ARM Linux wrote: > Can someone provide a deeper explanation about exactly what this > property represents please? > > Does this represent the range of YCbCr values _into_ a YCbCr-to-RGB > conversion (in other words, the range of values in the framebuffer), > or

Re: DRM COLOR_RANGE property

2018-07-04 Thread Jyri Sarha
On 04/07/18 12:58, Russell King - ARM Linux wrote: >> Hm maybe I misunderstood, but I thought the COLOR_RANGE is on the input >> side. > If that's the case, I should force it to only indicate support for > limited range, while programming the CSC to produce full range RGB > on its output (see

Re: DRM COLOR_RANGE property

2018-07-04 Thread Ville Syrjälä
On Tue, Jul 03, 2018 at 05:18:57PM +0100, Russell King - ARM Linux wrote: > Can someone provide a deeper explanation about exactly what this > property represents please? > > Does this represent the range of YCbCr values _into_ a YCbCr-to-RGB > conversion (in other words, the range of values in

Re: DRM COLOR_RANGE property

2018-07-04 Thread Daniel Vetter
On Wed, Jul 4, 2018 at 11:58 AM, Russell King - ARM Linux wrote: > On Wed, Jul 04, 2018 at 11:24:10AM +0200, Daniel Vetter wrote: >> On Wed, Jul 04, 2018 at 10:05:41AM +0100, Russell King - ARM Linux wrote: >> > On Wed, Jul 04, 2018 at 10:26:04AM +0200, Daniel Vetter wrote: >> > > On Tue, Jul 03,

Re: DRM COLOR_RANGE property

2018-07-04 Thread Daniel Vetter
On Wed, Jul 04, 2018 at 10:05:41AM +0100, Russell King - ARM Linux wrote: > On Wed, Jul 04, 2018 at 10:26:04AM +0200, Daniel Vetter wrote: > > On Tue, Jul 03, 2018 at 05:18:57PM +0100, Russell King - ARM Linux wrote: > > > Can someone provide a deeper explanation about exactly what this > > >

Re: DRM COLOR_RANGE property

2018-07-04 Thread Daniel Vetter
On Tue, Jul 03, 2018 at 05:18:57PM +0100, Russell King - ARM Linux wrote: > Can someone provide a deeper explanation about exactly what this > property represents please? > > Does this represent the range of YCbCr values _into_ a YCbCr-to-RGB > conversion (in other words, the range of values in

DRM COLOR_RANGE property

2018-07-04 Thread Russell King - ARM Linux
Can someone provide a deeper explanation about exactly what this property represents please? Does this represent the range of YCbCr values _into_ a YCbCr-to-RGB conversion (in other words, the range of values in the framebuffer), or the expected output range from the conversion? This matters,