]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: update type for num_syncobj_handles in drm_amdgpu_userq_signal
authorSunil Khatri <sunil.khatri@amd.com>
Thu, 26 Feb 2026 15:44:27 +0000 (21:14 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Mar 2026 21:41:31 +0000 (16:41 -0500)
commitd8e760b7996df37b6c1f25ca8a4a5645f144f63c
tree7c5cfab187427293eff39bff98425ab6e2b85d21
parent2d60e9898a1d4f66f7ec1954e1f086490ce6560b
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>
include/uapi/drm/amdgpu_drm.h