mbox series

[RFC,0/1] Fail dm_atomic_check if cursor overlay is required at MAX_SURFACES

Message ID 20241025193727.765195-1-zaeem.mohamed@amd.com (mailing list archive)
Headers show
Series Fail dm_atomic_check if cursor overlay is required at MAX_SURFACES | expand

Message

Zaeem Mohamed Oct. 25, 2024, 7:37 p.m. UTC
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(-)