History

drm/amdgpu: update type for num_syncobj_handles in drm_amdgpu_userq_signal

update the type for num_syncobj_handles from __u64 to _u16 with required padding. This breaks the UAPI for big-endian platforms but this is deliberate and harmless since userqueues is still a beta feature. It is enabled via module parameter and need the right fw support to work.

Sunil Khatri committed 8 months ago

Commit d8e760b1 parent 2d60e981 file · +3 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/amdgpu_drm.h+3−1
@@ -479,7 +479,9 @@ struct drm_amdgpu_userq_signal { · 478 unmodified lines
479479 * @num_syncobj_handles: A count that represents the number of syncobj handles in
480480 * @syncobj_handles.
481481 */
482− __u64 num_syncobj_handles;
482+ __u16 num_syncobj_handles;
483+ __u16 pad0;
484+ __u32 pad1;
483485 /**
484486 * @bo_read_handles: The list of BO handles that the submitted user queue job
485487 * is using for read only. This will update BO fences in the kernel.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t