Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: Flush TLB on all XCCs on GFX 12.1

Currently, the driver code is flushing TLB on XCC 0 only.
Fix it by flushing on all XCCs within the partition.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mukul Joshi and committed by
Alex Deucher
0c9ad472 20ba9832

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
··· 361 361 gmc_v12_1_flush_gpu_tlb(adev, vmid, i, 362 362 flush_type); 363 363 } else { 364 - gmc_v12_1_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(0), 364 + gmc_v12_1_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(inst), 365 365 flush_type); 366 366 } 367 367 }