drm/amd/display: Fix plane_atomic_check when no dc_state
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
4d128c2f8a
commit
9a3329b172
|
@ -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);
|
||||
|
||||
if (!dm_plane_state->dc_state)
|
||||
return true;
|
||||
return 0;
|
||||
|
||||
if (dc_validate_plane(dc, dm_plane_state->dc_state))
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue