summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-10-05 18:21:26 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-10-07 12:15:36 -0400
commitf46ffb912ff1e9878640d4ca44ce88fb5da322f6 (patch)
tree264c05d078a556577670f7404bd96992819ed2e2 /drivers/gpu/drm/amd
parente38159437a91db68fe07cceb5421498e0a1bbeab (diff)
drm/amdgpu: exclude npa_vmid from the userq vmids too
On IP_VERSION(12, 1, 0), we are excluding vmid 15 from the available vmids in kernel queues for mmhub but its not exluded from the userqueues mmhub vmids and it is a problem. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
index ab707b1c7867..fcc1d580fa94 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
@@ -1014,6 +1014,9 @@ static int gmc_v12_0_sw_init(struct amdgpu_ip_block *ip_block)
amdgpu_vm_manager_init(adev);
+ if (adev->vm_manager.npa_vmid)
+ adev->vm_manager.vmid_uq_mask_mmhub &= ~BIT(adev->vm_manager.npa_vmid);
+
r = amdgpu_gmc_ras_sw_init(adev);
if (r)
return r;