]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Oct 2025 13:59:48 +0000 (09:59 -0400)
commita0559012a18a5a6ad87516e982892765a403b8ab
tree8c1819236eaa3cc1c2505e44658218ee11748f28
parent22d9e071e5028815accf26956ed0b9634a4c0b8d
drm/amdgpu/userq: fix SDMA and compute validation

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>
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c