Skip to content

Commit 66f3883

Browse files
ChristianKoenigAMDalexdeucher
authored andcommitted
drm/amdgpu: remove leftover from enforcing isolation by VMID
Initially we enforced isolation by reserving a VMID, but that practice was now removed. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 7469567 commit 66f3883

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -594,11 +594,6 @@ void amdgpu_vmid_mgr_init(struct amdgpu_device *adev)
594594
list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru);
595595
}
596596
}
597-
/* alloc a default reserved vmid to enforce isolation */
598-
for (i = 0; i < (adev->xcp_mgr ? adev->xcp_mgr->num_xcps : 1); i++) {
599-
if (adev->enforce_isolation[i] != AMDGPU_ENFORCE_ISOLATION_DISABLE)
600-
amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(i));
601-
}
602597
}
603598

604599
/**

0 commit comments

Comments
 (0)