Skip to content

Commit 1f086d2

Browse files
fxkamdalexdeucher
authored andcommitted
drm/amdkfd: Fix two comments in kfd_ioctl.h
Queue read and write pointers are "to KFD", not "from KFD". Suggested-by: Robert Liu <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Robert Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 4538a93 commit 1f086d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/linux/kfd_ioctl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ struct kfd_ioctl_get_version_args {
6767

6868
struct kfd_ioctl_create_queue_args {
6969
__u64 ring_base_address; /* to KFD */
70-
__u64 write_pointer_address; /* from KFD */
71-
__u64 read_pointer_address; /* from KFD */
70+
__u64 write_pointer_address; /* to KFD */
71+
__u64 read_pointer_address; /* to KFD */
7272
__u64 doorbell_offset; /* from KFD */
7373

7474
__u32 ring_size; /* to KFD */

0 commit comments

Comments
 (0)