[PATCH 2/3] drm: Add optional PIXEL_NORMALIZE_RANGE property to drm_plane

Strasser, Kevin kevin.strasser at intel.com
Thu Nov 29 21:38:49 UTC 2018


Ville Syrjälä wrote:
> On Wed, Nov 28, 2018 at 10:38:12PM -0800, Kevin Strasser wrote:
>> Add an optional property to allow applications to indicate what range their
>> floating point pixel data is normalized to. Drivers are free to choose what
>> ranges they want to support and can attach this property to each plane that
>> actually supports floating point formats
>
> Do we have a plan to actually use this? Earlier platforms didn't have
> anything like this IIRC.

I don't know about any *real* use case, but I did find it useful in the IGT 
conversion code. It isn't strictly required to be enabled if the data is
already normalized.

Thanks,
Kevin


More information about the dri-devel mailing list