]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: fix waiting for all submissions for userptrs
authorChristian König <christian.koenig@amd.com>
Wed, 18 Feb 2026 12:05:46 +0000 (13:05 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 18:53:05 +0000 (14:53 -0400)
commit58bafc666c484b21839a2d27e923ae1b2727a1df
treef927afdf4e90ca2f3d03ef33b56b82bedd7ec137
parente3fa02872e223d24a925eb876b31c00d833bce7c
drm/amdgpu: fix waiting for all submissions for userptrs

Wait for all submissions when userptrs need to be invalidated by the MMU
notifier, not just the one the userptr was involved into.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Tested-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 91250893cbaa25c86872deca95a540d08de1f91e)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c