mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
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. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2d60e9898a
commit
d8e760b799
|
|
@ -479,7 +479,9 @@ struct drm_amdgpu_userq_signal {
|
||||||
* @num_syncobj_handles: A count that represents the number of syncobj handles in
|
* @num_syncobj_handles: A count that represents the number of syncobj handles in
|
||||||
* @syncobj_handles.
|
* @syncobj_handles.
|
||||||
*/
|
*/
|
||||||
__u64 num_syncobj_handles;
|
__u16 num_syncobj_handles;
|
||||||
|
__u16 pad0;
|
||||||
|
__u32 pad1;
|
||||||
/**
|
/**
|
||||||
* @bo_read_handles: The list of BO handles that the submitted user queue job
|
* @bo_read_handles: The list of BO handles that the submitted user queue job
|
||||||
* is using for read only. This will update BO fences in the kernel.
|
* is using for read only. This will update BO fences in the kernel.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user