Explorar o código

disp:msm:sde: ensure HDR properties are updated during HPD

This patch fixes an issue where the HDR connector properties for
external displays were not being updated after a hot-plug event.

Change-Id: I78dbf00a103ab0bd361039eae2bac16ef9372e36
Signed-off-by: Steve Cohen <[email protected]>
Steve Cohen %!s(int64=6) %!d(string=hai) anos
pai
achega
23f392cdc0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      msm/sde/sde_connector.c

+ 2 - 0
msm/sde/sde_connector.c

@@ -2245,6 +2245,8 @@ static int _sde_connector_install_properties(struct drm_device *dev,
 	if (connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
 		struct drm_msm_ext_hdr_properties hdr = {0};
 
+		c_conn->hdr_capable = true;
+
 		msm_property_install_blob(&c_conn->property_info,
 				"ext_hdr_properties",
 				DRM_MODE_PROP_IMMUTABLE,