1
0
Fork 0

drm: Add HDR capabilty field to plane structure

Hardware may have HDR capability on certain plane
engines. Enabling the same in drm plane structure
so that this can be communicated to user space.

Each drm driver should set this flag to true for planes
which support HDR.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
pull/10/head
Uma Shankar 2017-05-31 15:40:54 +05:30 committed by Jason Liu
parent bef8e1d1af
commit 9c7802fa3e
1 changed files with 3 additions and 0 deletions

View File

@ -515,6 +515,9 @@ struct drm_plane {
enum drm_plane_type type;
/* Value of true:1 means HDR is supported */
bool hdr_supported;
/**
* @index: Position inside the mode_config.list, can be used as an array
* index. It is invariant over the lifetime of the plane.