]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/userq: fix SDMA and compute validation
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Oct 2025 19:21:02 +0000 (15:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:41 +0000 (14:02 +0100)
commit3e3cb76251769af696907e83a2101676eaac0044
tree31cc1efdb41f40eff8fdb0c24591aa84e5ab98c9
parent77ac34b838e2093d498e6dc9f5944038ba83c06d
drm/amdgpu/userq: fix SDMA and compute validation

[ Upstream commit a0559012a18a5a6ad87516e982892765a403b8ab ]

The CSA and EOP buffers have different alignement requirements.
Hardcode them for now as a bug fix.  A proper query will be added in
a subsequent patch.

v2: verify gfx shadow helper callback (Prike)

Fixes: 9e46b8bb0539 ("drm/amdgpu: validate userq buffer virtual address and size")
Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c