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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: handle enforce isolation on non-0 gfxhub

Some chips have more than one gfxhub so check if we
are a gfxhub rather than just gfxhub 0.

Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
··· 484 484 bool amdgpu_vmid_uses_reserved(struct amdgpu_vm *vm, unsigned int vmhub) 485 485 { 486 486 return vm->reserved_vmid[vmhub] || 487 - (enforce_isolation && (vmhub == AMDGPU_GFXHUB(0))); 487 + (enforce_isolation && AMDGPU_IS_GFXHUB(vmhub)); 488 488 } 489 489 490 490 int amdgpu_vmid_alloc_reserved(struct amdgpu_device *adev,