diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-05-19 17:15:23 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:07:28 -0400 |
commit | c14833c6728e587d33777d416a9d0c21d3785ff8 (patch) | |
tree | 6ff230e8402ac014ea033116c26a0f956580c13f | |
parent | 5aa35c1a16d505c0aee7fa5bebf829f9bef32c34 (diff) | |
download | linux-c14833c6728e587d33777d416a9d0c21d3785ff8.tar.gz linux-c14833c6728e587d33777d416a9d0c21d3785ff8.tar.xz |
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 <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 3 |
1 files changed, 0 insertions, 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 b3a4605858c1..3c1baa29f36f 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)); |