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

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>

authored by

Christian König and committed by
Alex Deucher
66f3883d 7469567d

-5
-5
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
··· 594 594 list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru); 595 595 } 596 596 } 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 - } 602 597 } 603 598 604 599 /**