Commit c14833c6 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

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: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5aa35c1a
...@@ -2883,9 +2883,6 @@ static enum surface_update_type amdgpu_dm_check_surfaces_update_type( ...@@ -2883,9 +2883,6 @@ static enum surface_update_type amdgpu_dm_check_surfaces_update_type(
dc_stream_get_status(dc_stream); dc_stream_get_status(dc_stream);
enum surface_update_type update_type; enum surface_update_type update_type;
ASSERT(stream_status);
memset(srf_updates, 0, sizeof(srf_updates)); memset(srf_updates, 0, sizeof(srf_updates));
memset(flip_addr, 0, sizeof(flip_addr)); memset(flip_addr, 0, sizeof(flip_addr));
memset(plane_info, 0, sizeof(plane_info)); memset(plane_info, 0, sizeof(plane_info));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment