DRM COLOR_RANGE property

Jyri Sarha jsarha at ti.com
Wed Jul 4 11:30:08 UTC 2018


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 below).
> 

That should need no forcing. Just set supported_ranges parameter
to BIT(DRM_COLOR_YCBCR_LIMITED_RANGE) in
drm_plane_create_color_properties() call to create an enum property with
only the allowed value.

BR,
Jyri

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


More information about the dri-devel mailing list