Commit 9a3329b1 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

drm/amd/display: Fix plane_atomic_check when no dc_state

Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4d128c2f
...@@ -3160,7 +3160,7 @@ int dm_plane_atomic_check(struct drm_plane *plane, ...@@ -3160,7 +3160,7 @@ int dm_plane_atomic_check(struct drm_plane *plane,
struct dm_plane_state *dm_plane_state = to_dm_plane_state(state); struct dm_plane_state *dm_plane_state = to_dm_plane_state(state);
if (!dm_plane_state->dc_state) if (!dm_plane_state->dc_state)
return true; return 0;
if (dc_validate_plane(dc, dm_plane_state->dc_state)) if (dc_validate_plane(dc, dm_plane_state->dc_state))
return 0; return 0;
......
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