]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: grab an additional reference on the gang fence v2
authorChristian König <christian.koenig@amd.com>
Tue, 14 Jan 2025 12:51:39 +0000 (13:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:15:26 +0000 (10:15 +0200)
commitfb4c507bf24a77e210ed68924c48a1ff7eeff94f
tree9bc7fd2ef971210dff72b7a021418384f801fe7d
parent5c3cfcf0b4bf43530788b08a8eaf7896ec567484
drm/amdgpu: grab an additional reference on the gang fence v2

[ Upstream commit 0d9a95099dcb05b5f4719c830d15bf4fdcad0dc2 ]

We keep the gang submission fence around in adev, make sure that it
stays alive.

v2: fix memory leak on retry

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_device.c