From: Harry Wentland Date: Fri, 19 May 2017 21:15:23 +0000 (-0400) Subject: drm/amd/display: No need to assert on stream_status X-Git-Tag: v5.15~9960^2~23^2~468 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c14833c6728e587d33777d416a9d0c21d3785ff8;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/display: No need to assert on stream_status This will be NULL on a new stream. DC handles it gracefully. Signed-off-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c index b3a4605..3c1baa2 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c @@ -2883,9 +2883,6 @@ static enum surface_update_type amdgpu_dm_check_surfaces_update_type( dc_stream_get_status(dc_stream); enum surface_update_type update_type; - ASSERT(stream_status); - - memset(srf_updates, 0, sizeof(srf_updates)); memset(flip_addr, 0, sizeof(flip_addr)); memset(plane_info, 0, sizeof(plane_info));