Remove NodeId parameter from hsaKmtAllocQueueGWS
The NodeId parameter is redundant and can be retrieved from QueueId parameter. Change-Id: I12853849b868b304bd27633fa7653ba644d69026 Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
This commit is contained in:
1 parent
e65685df19
commit
f40f166e20
3 files changed
+1
-13
No files matched your search
@@ -578,7 +578,6 @@ hsaKmtUnmapGraphicHandle(
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtAllocQueueGWS(
|
||||
HSAuint32 NodeId, //IN
|
||||
HSA_QUEUEID QueueId, //IN
|
||||
HSAuint32 nGWS, //IN
|
||||
HSAuint32 *firstGWS //OUT
|
||||
|
||||
@@ -470,17 +470,16 @@ struct kfd_ioctl_unmap_memory_from_gpu_args {
|
||||
|
||||
/* Allocate GWS for specific queue
|
||||
*
|
||||
* @gpu_id: device identifier
|
||||
* @queue_id: queue's id that GWS is allocated for
|
||||
* @num_gws: how many GWS to allocate
|
||||
* @first_gws: index of the first GWS allocated.
|
||||
* only support contiguous GWS allocation
|
||||
*/
|
||||
struct kfd_ioctl_alloc_queue_gws_args {
|
||||
__u32 gpu_id; /* to KFD */
|
||||
__u32 queue_id; /* to KFD */
|
||||
__u32 num_gws; /* to KFD */
|
||||
__u32 first_gws; /* from KFD */
|
||||
__u32 pad; /* to KFD */
|
||||
};
|
||||
|
||||
struct kfd_ioctl_get_dmabuf_info_args {
|
||||
|
||||
Reference in new issue
Block a user