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