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

Since the HDR static metadata block 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: I4526cda426c46708d3689eb8b993b7a4f50d32ae
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
This commit is contained in:
Abhinav Kumar
2020-02-06 18:48:31 -08:00
committed by Gerrit - the friendly Code Review server
parent 5367cc8373
commit f1959d903b
3 changed files with 18 additions and 21 deletions

View File

@@ -1372,12 +1372,12 @@ static int dp_debug_print_hdr_params_to_buf(struct drm_connector *connector,
goto error;
rc = snprintf(buf + len, max_size, "eotf = %d\n",
connector->hdr_eotf);
c_conn->hdr_eotf);
if (dp_debug_check_buffer_overflow(rc, &max_size, &len))
goto error;
rc = snprintf(buf + len, max_size, "type_one = %d\n",
connector->hdr_metadata_type_one);
c_conn->hdr_metadata_type_one);
if (dp_debug_check_buffer_overflow(rc, &max_size, &len))
goto error;
@@ -1387,17 +1387,17 @@ static int dp_debug_print_hdr_params_to_buf(struct drm_connector *connector,
goto error;
rc = snprintf(buf + len, max_size, "max_luminance = %d\n",
connector->hdr_max_luminance);
c_conn->hdr_max_luminance);
if (dp_debug_check_buffer_overflow(rc, &max_size, &len))
goto error;
rc = snprintf(buf + len, max_size, "avg_luminance = %d\n",
connector->hdr_avg_luminance);
c_conn->hdr_avg_luminance);
if (dp_debug_check_buffer_overflow(rc, &max_size, &len))
goto error;
rc = snprintf(buf + len, max_size, "min_luminance = %d\n",
connector->hdr_min_luminance);
c_conn->hdr_min_luminance);
if (dp_debug_check_buffer_overflow(rc, &max_size, &len))
goto error;