drm/amd/display: Don't force UPDATE_TYPE_FULL if stream_update has hdr_static_metadata
authorHarry Wentland <harry.wentland@amd.com>
Sun, 25 Mar 2018 20:28:33 +0000 (16:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:55 +0000 (11:10 -0500)
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@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index a4df627d693629b71d473e7d4bc8258c49d3cfec..0179d2be986683380ca45d9f26f27538599bb974 100644 (file)
@@ -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;
        }