]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: remove gart_window_lock usage from gmc v12_1
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 8 Jan 2026 16:08:06 +0000 (17:08 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:16:29 +0000 (14:16 -0500)
Same as what was done in commit c79cf5a7d903
("drm/amdgpu: remove gart_window_lock usage from gmc v12") for v12.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c

index ef6e550ce7c3d6b568e6220a5e4bf4cff9533152..dc8865c5879c8ed586070215d849f6484afcd610 100644 (file)
@@ -345,9 +345,7 @@ static void gmc_v12_1_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid,
                return;
        }
 
-       mutex_lock(&adev->mman.gtt_window_lock);
        gmc_v12_1_flush_vm_hub(adev, vmid, vmhub, 0);
-       mutex_unlock(&adev->mman.gtt_window_lock);
        return;
 }