]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amdgpu: remove leftover from enforcing isolation by VMID
authorChristian König <christian.koenig@amd.com>
Tue, 16 Sep 2025 14:07:35 +0000 (16:07 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Sep 2025 19:38:54 +0000 (15:38 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c

index 5dd78a9cb12ddf1d2a87c86f6f66f6450d812561..cbdf108612d2c3a2c4a857e01b4ee125a52f765c 100644 (file)
@@ -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));
-       }
 }
 
 /**