Set doorbell kind code for gfx9+ device enqueue.

Change-Id: I93c4cea677ae51f97ac768614333743fb26b2f54


[ROCm/ROCR-Runtime commit: 5a4ab91be1]
This commit is contained in:
Sean Keely
2017-10-20 09:04:09 -05:00
parent 5dfef3ef77
commit 8122fbebad
@@ -160,7 +160,7 @@ AqlQueue::AqlQueue(GpuAgent* agent, size_t req_size_pkts, HSAuint32 node_id, Scr
// Populate doorbell signal structure.
memset(&signal_, 0, sizeof(signal_));
signal_.kind = AMD_SIGNAL_KIND_LEGACY_DOORBELL;
signal_.kind = (doorbell_type_ == 2) ? AMD_SIGNAL_KIND_DOORBELL : AMD_SIGNAL_KIND_LEGACY_DOORBELL;
signal_.legacy_hardware_doorbell_ptr =
(volatile uint32_t*)queue_rsrc.Queue_DoorBell;
signal_.queue_ptr = &amd_queue_;