disp: msm: remove drm_connector usage for colorspace

Move away from using the supported colorspaces in drm_connector
and replace it with sde_connector to satisfy GKI requirement.

Change-Id: I947c91ea6672e242e572151f72cf0db2e71990cb
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
此提交包含在:
Abhinav Kumar
2020-02-07 18:24:37 -08:00
提交者 Gerrit - the friendly Code Review server
父節點 6082221107
當前提交 2e1c9a0751
共有 2 個檔案被更改,包括 5 行新增2 行删除

查看文件

@@ -1527,12 +1527,13 @@ static void sde_connector_update_hdr_props(struct drm_connector *connector)
static void sde_connector_update_colorspace(struct drm_connector *connector)
{
int ret;
struct sde_connector *c_conn = to_sde_connector(connector);
ret = msm_property_set_property(
sde_connector_get_propinfo(connector),
sde_connector_get_property_state(connector->state),
CONNECTOR_PROP_SUPPORTED_COLORSPACES,
connector->color_enc_fmt);
c_conn->color_enc_fmt);
if (ret)
SDE_ERROR("failed to set colorspace property for connector\n");