From: Harry Wentland Date: Sun, 25 Mar 2018 20:28:33 +0000 (-0400) Subject: drm/amd/display: Don't force UPDATE_TYPE_FULL if stream_update has hdr_static_metadata X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4c1fa3630b44f03d5539a778ddcea319e9c8223a;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Don't force UPDATE_TYPE_FULL if stream_update has hdr_static_metadata 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 Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index a4df627d6936..0179d2be9866 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1268,9 +1268,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; }