]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: rework how the cleaner shader is emitted v3
authorChristian König <christian.koenig@amd.com>
Mon, 27 Jan 2025 14:09:45 +0000 (15:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:12:30 +0000 (11:12 +0200)
commit6e443248d017a62aa96a6e9b716b5e64cd27313f
tree10e92fae76aceb90c9767998d2a9ae15d8961c5a
parent787a44e489958a2a3dccfc4f748fc4b8b21694ce
drm/amdgpu: rework how the cleaner shader is emitted v3

[ Upstream commit b7fbcd77bb467d09ba14cb4ec3b121dc85bb3100 ]

Instead of emitting the cleaner shader for every job which has the
enforce_isolation flag set only emit it for the first submission from
every client.

v2: add missing NULL check
v3: fix another NULL pointer deref

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c