libhsakmt: Improve the comment regarding queue doorbells

The comment failed to convey the fact.

Change-Id: Ia9b1d1c2583e288a6308d2bc81d42055064a5f4f
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Cette révision appartient à :
Yong Zhao a créé et Yong Zhao a révisé 2020-06-16 15:16:03 -04:00
1 Parent f0b0555996
révision 6a762ec717
1 fichier modifié
+3 -3
+3 -3
Voir le fichier
@@ -676,9 +676,9 @@ HSAKMT_STATUS HSAKMTAPI hsaKmtCreateQueue(HSAuint32 NodeId,
if (IS_SOC15(dev_info->asic_family)) {
/* On SOC15 chips, the doorbell offset within the
* doorbell page is included in the doorbell offset
* returned by KFD. This allows doorbells to be
* allocated per-device, independent of the
* per-process queue ID.
* returned by KFD. This allows CP queue doorbells to be
* allocated dynamically (while SDMA queue doorbells fixed)
* rather than based on the its process queue ID.
*/
doorbell_mmap_offset = args.doorbell_offset &
~(HSAuint64)(doorbells[NodeId].size - 1);