drm/amdkfd: Disable CP/SDMA ring/doorbell in MQD
authorJay Cornwall <Jay.Cornwall@amd.com>
Wed, 1 Nov 2017 23:21:27 +0000 (19:21 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 1 Nov 2017 23:21:27 +0000 (19:21 -0400)
commitbba9662db79cb21c532bff2e83843037a616ed86
tree5bf5868f0e3244b47393ab7e3483b9000c9c00e5
parentab40cba30333cc264cf2731626565c3e1f29e4d1
drm/amdkfd: Disable CP/SDMA ring/doorbell in MQD

The MQD represents an inactive context and should not have ring or
doorbell enable bits set. Doing so interferes with HWS which streams
the MQD onto the HQD. If enable bits are set this activates the ring
or doorbell before the HQD is fully configured.

Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c