linux/include/uapi/drm
Yogesh Mohan Marimuthu 13af55f713 drm/amdgpu/userq: fix struct drm_amdgpu_info_device padding for 32bit compile
need to pad before __u64 tcc_disabled_mask variable.

This patch fixes 64bit Kernel + 32 bit mesa combination. But at the same
time it will break 32bit Kernel(using this patch) + older 32bit mesa(not
using this patch).

This issue was discussd with alexander.deucher@amd.com,
christian.koenig@amd.com and pierre-eric.pelloux-prayer@amd.com.
Currently today 32 bit kernel + 32 bit userspace and 64 bit kernel and
64 bit userspace work.  Mixed 64 bit kernel and 32 bit userspace is
currently broken.  Since 32 bit kernel and userspace is probably pretty
rare these days and the data affected by this is not critical, Hence
we can go ahead with this patch.

Fixes: cf21e76a60 ("drm/amdgpu: return tcc_disabled_mask to userspace")
Signed-off-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 497b5090f2857ef8ad9a162aa31ada0de5814663)
2026-09-02 17:02:23 -04:00
..
amdgpu_drm.h drm/amdgpu/userq: fix struct drm_amdgpu_info_device padding for 32bit compile 2026-09-02 17:02:23 -04:00
amdxdna_accel.h accel/amdxdna: Add command doorbell and wait support 2026-05-07 14:07:34 -07:00
armada_drm.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
asahi_drm.h drm: Add UAPI for the Asahi driver 2025-04-08 17:15:57 -04:00
drm_fourcc.h drm/fourcc: Add modifiers for AMD GFX6-8 2026-07-28 19:17:33 -04:00
drm_mode.h drm/edid: parse panel type from DisplayID 2.x Display Parameters 2026-06-29 21:16:36 -05:00
drm_ras.h drm/drm_ras: Add clear-error-counter netlink command to drm_ras 2026-04-24 08:43:42 -04:00
drm_sarea.h drm: uapi: Use SPDX in DRM core uAPI headers 2026-05-04 17:14:18 +03:00
drm.h drm: uapi: Use SPDX in DRM core uAPI headers 2026-05-04 17:14:18 +03:00
ethosu_accel.h accel: ethosu: Add performance counter support 2026-06-01 19:44:24 +02:00
etnaviv_drm.h Revert "drm/etnaviv: Expose a few more chipspecs to userspace" 2024-04-25 16:56:20 +02:00
exynos_drm.h drm/exynos: Rename Exynos to lowercase 2020-01-21 09:09:42 +09:00
habanalabs_accel.h accel/habanalabs/gaudi2: add signed dev info uAPI 2023-12-19 11:09:43 +02:00
i915_drm.h drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
ivpu_accel.h accel/ivpu: Add support for userptr buffer objects 2025-10-30 08:52:51 +01:00
lima_drm.h drm/lima: support heap buffer creation 2020-01-27 22:01:09 +08:00
msm_drm.h drm/msm: Fix stale comments in uapi/drm/msm_drm.h 2026-07-28 11:48:48 -07:00
nouveau_drm.h drm/nouveau: allow allocating NVDEC channels via abi16 2026-07-27 13:59:34 +10:00
nova_drm.h drm: nova-drm: add initial driver skeleton 2025-05-12 20:48:15 +02:00
omap_drm.h Revert "drm/omap: add OMAP_BO flags to affect buffer allocation" 2019-10-23 10:41:41 -04:00
panfrost_drm.h drm/panfrost: Add flag to map GEM object Write-Back Cacheable 2025-12-09 13:09:37 +01:00
panthor_drm.h drm/panthor: Support sparse mappings 2026-06-05 10:59:07 +01:00
pvr_drm.h drm/imagination: Numerous documentation fixes. 2023-11-28 18:56:03 +01:00
qaic_accel.h accel/qaic: Fix typo for struct qaic_manage_trans_passthrough 2024-12-13 08:55:09 -07:00
qxl_drm.h
radeon_drm.h
rocket_accel.h accel/rocket: rocket_accel.h: fix kernel-doc warnings 2026-01-10 17:49:15 +01:00
tegra_drm.h drm/tegra: tegra_drm.h: fix all uapi kernel-doc warnings 2026-05-28 17:19:29 +02:00
v3d_drm.h drm/v3d: Add parameter to retrieve the number of GPU resets per-fd 2025-07-17 11:17:32 -03:00
vc4_drm.h drm/vc4: Add a pad field to align drm_vc4_submit_cl to 64 bits. 2018-05-03 15:20:09 -07:00
vgem_drm.h
virtgpu_drm.h drm/virtio: add VIRTGPU_PARAM_BLOB_ALIGNMENT to params 2026-05-20 17:59:21 +03:00
vmwgfx_drm.h drm/vmwgfx: Add SPDX header to vmwgfx_drm.h 2024-01-30 14:18:19 -05:00
xe_drm.h drm/xe: Documentation: fix chars used for subsection 2026-07-03 14:33:36 -04:00