Skip to content

Commit a056d80

Browse files
yangsu13fcui-amd
authored andcommitted
Revert "wsl/librocdxg: Change hsaKmtQueueRingDoorbell interface"
Debug shows parameter count no impact on call relations, so revert this commit. This reverts commit 5f710768aa2e68c5b06d0ece19f4268cc66f88d4. Signed-off-by: Yang Su <Yang.Su2@amd.com> Reviewed-by: Flora Cui <flora.cui@amd.com>
1 parent d969b05 commit a056d80

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

include/hsakmt/hsakmt.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,7 @@ hsaKmtGetQueueInfo(
401401
HSAKMT_STATUS
402402
HSAKMTAPI
403403
hsaKmtQueueRingDoorbell(
404-
HSA_QUEUEID QueueId,
405-
...
404+
HSA_QUEUEID QueueId
406405
);
407406
/**
408407
Allows an HSA process to set/change the default and alternate memory coherency, before starting to dispatch.

src/queues.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ HSAKMT_STATUS HSAKMTAPI hsaKmtAllocQueueGWS(HSA_QUEUEID QueueId, HSAuint32 nGWS,
201201
return HSAKMT_STATUS_SUCCESS;
202202
}
203203

204-
HSAKMT_STATUS HSAKMTAPI hsaKmtQueueRingDoorbell(HSA_QUEUEID QueueId, ...) {
204+
HSAKMT_STATUS HSAKMTAPI hsaKmtQueueRingDoorbell(HSA_QUEUEID QueueId) {
205205
CHECK_DXG_OPEN();
206206

207207
auto queue_ = reinterpret_cast<wsl::thunk::WDDMQueue *>(QueueId);

0 commit comments

Comments
 (0)