OSDN Git Service

drm/amdkfd: Fix bugs regarding CP queue doorbell mask on SOC15
authorYong Zhao <Yong.Zhao@amd.com>
Wed, 13 Feb 2019 18:15:05 +0000 (13:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Feb 2019 23:00:41 +0000 (18:00 -0500)
commit1f86805adc3432e92e7d87e1ff5da9826ef56eab
tree6206244b61c6ccde82dd1768cf440c8e9da58868
parent828845b7c86c5338f6ca02aaaaf4b525718f31b2
drm/amdkfd: Fix bugs regarding CP queue doorbell mask on SOC15

Reserved doorbells for SDMA IH and VCN were not properly masked out
when allocating doorbells for CP user queues. This patch fixed that.

Signed-off-by: Yong Zhao <Yong.Zhao@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_amdkfd.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c
drivers/gpu/drm/amd/include/kgd_kfd_interface.h