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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -479,7 +479,9 @@ struct drm_amdgpu_userq_signal { · 478 unmodified lines | ||
| 479 | 479 | * @num_syncobj_handles: A count that represents the number of syncobj handles in |
| 480 | 480 | * @syncobj_handles. |
| 481 | 481 | */ |
| 482 | − __u64 num_syncobj_handles; | |
| 482 | + __u16 num_syncobj_handles; | |
| 483 | + __u16 pad0; | |
| 484 | + __u32 pad1; | |
| 483 | 485 | /** |
| 484 | 486 | * @bo_read_handles: The list of BO handles that the submitted user queue job |
| 485 | 487 | * is using for read only. This will update BO fences in the kernel. |