disp: msm: dp: add colorspace property for MSM DP

Add the colorspace property for DP controller for MSM. Also, change
the default method to send the colorimetry information to the sink
from MISC bits of MSA to VSC SDP packets if the sink supports it. This
helps to avoid dynamic switches between the packet types for sending
the colorimetry information during BT2020 and DCI-P3 use-cases.

Change-Id: I7ddf879a187b023fcf7404d64028e4d19b031119
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
This commit is contained in:
Abhinav Kumar
2019-06-07 19:13:41 -07:00
committato da Gerrit - the friendly Code Review server
parent 7f5f73ff41
commit 14e02e4b02
12 ha cambiato i file con 492 aggiunte e 71 eliminazioni

Vedi File

@@ -1352,7 +1352,7 @@ static int dp_link_get_colorimetry_config(struct dp_link *dp_link)
/* Only RGB_VESA nd RGB_CEA supported for now */
switch (dr) {
case DP_DYNAMIC_RANGE_RGB_CEA:
cc = BIT(3);
cc = BIT(2);
break;
case DP_DYNAMIC_RANGE_RGB_VESA:
default: