From: Charlene Liu <charlene.liu@xxxxxxx> Change-Id: Ifa3394d9c57d4744195c044f78dbddb3679c082a Signed-off-by: Charlene Liu <charlene.liu at amd.com> Acked-by: Harry Wentland <Harry.Wentland at amd.com> Reviewed-by: Charlene Liu <Charlene.Liu at amd.com> Reviewed-by: Anthony Koo <Anthony.Koo at amd.com> --- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index 875d1a63fcea..61ca1e21ae66 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -1063,8 +1063,6 @@ static bool are_stream_backends_same( if (stream_a == NULL || stream_b == NULL) return false; - if (stream_a->public.timing.pixel_encoding != stream_b->public.timing.pixel_encoding) - return false; if (is_timing_changed(stream_a, stream_b)) return false; @@ -1074,8 +1072,6 @@ static bool are_stream_backends_same( bool is_stream_unchanged( const struct core_stream *old_stream, const struct core_stream *stream) { - if (old_stream != stream) - return false; if (!are_stream_backends_same(old_stream, stream)) return false; -- 2.11.0