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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux