Current patch to prevent index-out-of-bounds when cursor plane is required and plane_count is MAX_SURFACES. This check needs to occur in dm_atomic_check where failing is safe. Need help with finding a better location for the bounds check within dm_atomic_commit Zaeem Mohamed (1): SWDEV476969 - dm: Fail dm_atomic_check if cursor overlay is required at MAX_SURFACES amdgpu_dm/amdgpu_dm.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) -- 2.34.1