From: Harry Wentland <harry.wentland@amd.com>
Date: Fri, 19 May 2017 17:15:23 -0400
Subject: drm/amd/display: No need to assert on stream_status
Git-commit: c14833c6728e587d33777d416a9d0c21d3785ff8
Patch-mainline: v4.15-rc1
References: FATE#326289 FATE#326079 FATE#326049 FATE#322398 FATE#326166
This will be NULL on a new stream. DC handles it gracefully.
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Petr Tesarik <ptesarik@suse.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 3 ---
1 file changed, 3 deletions(-)
--- 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_
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));