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:

committed by
Gerrit - the friendly Code Review server

vanhempi
7f5f73ff41
commit
14e02e4b02
@@ -37,6 +37,27 @@ int dp_connector_config_hdr(struct drm_connector *connector,
|
||||
void *display,
|
||||
struct sde_connector_state *c_state);
|
||||
|
||||
/**
|
||||
* dp_connector_atomic_check - callback to perform atomic
|
||||
* check for DP
|
||||
* @connector: Pointer to drm connector structure
|
||||
* @display: Pointer to private display handle
|
||||
* @c_state: connect state data
|
||||
* Returns: Zero on success
|
||||
*/
|
||||
int dp_connector_atomic_check(struct drm_connector *connector,
|
||||
void *display,
|
||||
struct drm_connector_state *c_state);
|
||||
|
||||
/**
|
||||
* dp_connector_set_colorspace - callback to set new colorspace
|
||||
* @connector: Pointer to drm connector structure
|
||||
* @display: Pointer to private display handle
|
||||
* Returns: Zero on success
|
||||
*/
|
||||
int dp_connector_set_colorspace(struct drm_connector *connector,
|
||||
void *display);
|
||||
|
||||
/**
|
||||
* dp_connector_post_init - callback to perform additional initialization steps
|
||||
* @connector: Pointer to drm connector structure
|
||||
|
Viittaa uudesa ongelmassa
Block a user