Change-Id: Ibf013e09e2cdbc33fa0d732e7eda3c8e7111d974
Signed-off-by: Harry Wentland <harry.wentl...@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzov...@amd.com>
Acked-by: Harry Wentland <harry.wentl...@amd.com>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 d271ccee3e09..b20ea5a945a4 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -3310,7 +3310,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;
-- 
2.11.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to