]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix Incorrect VMIDs passed to HWS
authorTushar Patel <tushar.patel@amd.com>
Thu, 17 Mar 2022 19:31:22 +0000 (15:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:25 +0000 (12:40 -0400)
commit387947ac3722bdf6e47be8e1042969242a0929e5
treee453327851cf5798c290a5c1e15a68960d94a491
parent5e9bbcdfe2889d9df96fdd6f9bdeb904255f67bb
drm/amdkfd: Fix Incorrect VMIDs passed to HWS

Compute-only GPUs have more than 8 VMIDs allocated to KFD. Fix
this by passing correct number of VMIDs to HWS

v2: squash in warning fix (Alex)

Signed-off-by: Tushar Patel <tushar.patel@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdkfd/kfd_device.c