disp: msm: dp: populate supported colorspace property for DP

Populate the supported colorspaces property for DP
as part of getting the display modes.

This will expose the supported colorspaces of the sink to
userspace and in-turn the userspace shall pick the colorspace
suitable for the use-case.

Change-Id: I70408c719610bc63f9c06dad8cd50f7fa5d94908
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
This commit is contained in:
Abhinav Kumar
2019-05-28 17:16:04 -07:00
parent aacd9e9585
commit c79760ba97
3 changed files with 34 additions and 0 deletions

View File

@@ -190,6 +190,7 @@ enum msm_mdp_conn_property {
CONNECTOR_PROP_ROI_V1,
CONNECTOR_PROP_BL_SCALE,
CONNECTOR_PROP_SV_BL_SCALE,
CONNECTOR_PROP_SUPPORTED_COLORSPACES,
/* enum/bitmask properties */
CONNECTOR_PROP_TOPOLOGY_NAME,