AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/1] Fail dm_atomic_check if cursor overlay is required at MAX_SURFACES
@ 2024-10-25 19:37 Zaeem Mohamed
  2024-10-25 19:37 ` [RFC 1/1] SWDEV476969 - dm: " Zaeem Mohamed
  0 siblings, 1 reply; 5+ messages in thread
From: Zaeem Mohamed @ 2024-10-25 19:37 UTC (permalink / raw)
  To: airlied, alexander.deucher, christian.koenig, daniel,
	harry.wentland, Rodrigo.Siqueira, sunpeng.li, Xinhui.Pan
  Cc: amd-gfx, dri-devel, Zaeem Mohamed

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-11 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 19:37 [RFC 0/1] Fail dm_atomic_check if cursor overlay is required at MAX_SURFACES Zaeem Mohamed
2024-10-25 19:37 ` [RFC 1/1] SWDEV476969 - dm: " Zaeem Mohamed
2024-10-26  2:01   ` Melissa Wen
2024-10-28 19:04     ` Leo Li
2024-11-11 20:49       ` Melissa Wen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox