[PATCH] drm/amdkfd: fix warning in kgd2kfd_device_init function

2022-04-08 Thread Tushar Patel
fix compilation warning arising from fixing incorrect VMIDs passed to HWS patch Signed-off-by: Tushar Patel --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd

[PATCH] drm/amdkfd: Fix Incorrect VMIDs passed to HWS

2022-03-23 Thread Tushar Patel
Compute-only GPUs have more than 8 VMIDs allocated to KFD. Fix this by passing correct number of VMIDs to HWS Signed-off-by: Tushar Patel --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 11 +++ 2 files changed, 4 insertions(+), 9 deletions

[PATCH] Fix Incorrect VMIDs passed to HWS

2022-03-17 Thread Tushar Patel
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 11 +++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 4c20c23d6ba0..bda1b5132ee8 100644 -

[PATCH] Fix Incorrect VMIDs passed to HWS

2022-03-17 Thread Tushar Patel
Removed dev_error message for incorrect VMIDs Fix Incorrect VMIDs passed to HWS --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 12 +++- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

[PATCH] Removed dev_error message for incorrect VMIDs

2022-03-17 Thread Tushar Patel
--- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c index 39073f72fe5f..f95904d38d24 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c +++ b/d

[PATCH] Fix Incorrect VMIDs passed to HWS

2022-03-17 Thread Tushar Patel
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 21 - 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 4c20c23d6ba0..bda1b5132