diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 41731943b4e7..0436261243ab 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -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; |