Initially we enforced isolation by reserving a VMID, but that practice
was now removed.

Signed-off-by: Christian König <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
index 5dd78a9cb12d..cbdf108612d2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
@@ -594,11 +594,6 @@ void amdgpu_vmid_mgr_init(struct amdgpu_device *adev)
                        list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru);
                }
        }
-       /* alloc a default reserved vmid to enforce isolation */
-       for (i = 0; i < (adev->xcp_mgr ? adev->xcp_mgr->num_xcps : 1); i++) {
-               if (adev->enforce_isolation[i] != 
AMDGPU_ENFORCE_ISOLATION_DISABLE)
-                       amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(i));
-       }
 }
 
 /**
-- 
2.43.0

Reply via email to