[PATCH 31/31] drm/amd/display: No need to assert on stream_status

Harry Wentland harry.wentland at amd.com
Tue May 23 14:09:09 UTC 2017


This will be NULL on a new stream. DC handles it gracefully.

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

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 5d34ce6c7faf..7182425bbcc2 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
@@ -3064,9 +3064,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));
-- 
2.11.0



More information about the amd-gfx mailing list