Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e658671 authored by Guchun Chen's avatar Guchun Chen
Browse files

drm: msm: sde: remove hdr property setting error message



Add a check to ensure HDR property is valid before updating
connector hdr. This can remove drm property setting error
message during booting up.

Change-Id: I7434f7f2cc5ca0007c87d3ba0e504758a0c879d1
Signed-off-by: default avatarGuchun Chen <guchunc@codeaurora.org>
parent 12719925
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -706,13 +706,14 @@ static void sde_connector_update_hdr_props(struct drm_connector *connector)
		  connector->hdr_avg_luminance;
		hdr_prop.hdr_min_luminance =
		  connector->hdr_min_luminance;
	}

		msm_property_set_blob(&c_conn->property_info,
				&c_conn->blob_hdr,
				&hdr_prop,
				sizeof(hdr_prop),
				CONNECTOR_PROP_HDR_INFO);
	}
}

static enum drm_connector_status
sde_connector_detect(struct drm_connector *connector, bool force)