]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: update type for num_syncobj_handles in drm_amdgpu_userq_wait
authorSunil Khatri <sunil.khatri@amd.com>
Thu, 26 Feb 2026 15:48:51 +0000 (21:18 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Mar 2026 21:42:01 +0000 (16:42 -0500)
commitc561d2320492e0dbe50a37437a525a2e91c471bd
treea7a51f69796f2812bad9188113644cc700e28d83
parentd8e760b7996df37b6c1f25ca8a4a5645f144f63c
drm/amdgpu: update type for num_syncobj_handles in drm_amdgpu_userq_wait

update the type for num_syncobj_handles from __u32 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