]> www.infradead.org Git - users/hch/misc.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Mar 2025 19:51:31 +0000 (15:51 -0400)
commit0d9a95099dcb05b5f4719c830d15bf4fdcad0dc2
tree989acd9c221084ca61e8089cc7644ac85d6add7a
parent6c11d4a87d5258f784699274b732bb5fe288475a
drm/amdgpu: grab an additional reference on the gang fence v2

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