disp: msm: replace usage of drm_connector with sde_connector for hdr10+

Since the VSVDB parsing has been moved to the sde edid parser, replace
the usage of drm_connector with sde_connector for hdr10+ so that the
modifications to drm_connector can be removed.

Change-Id: I7d69aa533e71fa45bfc578db24c17bb23e499c4a
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
このコミットが含まれているのは:
Abhinav Kumar
2020-01-22 15:15:58 -08:00
committed by Gerrit - the friendly Code Review server
コミット 849041b3fe
3個のファイルの変更5行の追加5行の削除

ファイルの表示

@@ -1225,7 +1225,7 @@ static int _sde_connector_set_ext_hdr_info(
if (!hdr_meta->hdr_plus_payload_size || !hdr_meta->hdr_plus_payload)
goto skip_dhdr;
if (!connector->hdr_plus_app_ver) {
if (!c_conn->hdr_plus_app_ver) {
SDE_ERROR_CONN(c_conn, "sink doesn't support dynamic HDR\n");
rc = -ENOTSUPP;
goto end;
@@ -1521,7 +1521,7 @@ static void sde_connector_update_hdr_props(struct drm_connector *connector)
hdr.hdr_max_luminance = connector->hdr_max_luminance;
hdr.hdr_avg_luminance = connector->hdr_avg_luminance;
hdr.hdr_min_luminance = connector->hdr_min_luminance;
hdr.hdr_plus_supported = connector->hdr_plus_app_ver;
hdr.hdr_plus_supported = c_conn->hdr_plus_app_ver;
msm_property_set_blob(&c_conn->property_info, &c_conn->blob_ext_hdr,
&hdr, sizeof(hdr), CONNECTOR_PROP_EXT_HDR_INFO);