[PATCH 3/6] drm/amd/display: Don't force UPDATE_TYPE_FULL if stream_update has hdr_static_metadata

Harry Wentland harry.wentland at amd.com
Tue Apr 24 13:50:11 UTC 2018

This was missed when pushing public patch for 3e3a40b03847 (drm/amd/display:
Updated HDR Static Metadata to directly take info packet raw)

This is currently no problem yet since we're not doing HDR on Linux yet.

Signed-off-by: Harry Wentland <harry.wentland at amd.com>
 drivers/gpu/drm/amd/display/dc/core/dc.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 1dc0870bce9f..33149ed779eb 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -1192,9 +1192,6 @@ static enum surface_update_type check_update_surfaces_for_stream(
 		if (stream_update->out_transfer_func)
 			return UPDATE_TYPE_FULL;
-		if (stream_update->hdr_static_metadata)
-			return UPDATE_TYPE_FULL;
 		if (stream_update->abm_level)
 			return UPDATE_TYPE_FULL;

More information about the amd-gfx mailing list