mirror-linux/include/uapi/drm
Geert Uytterhoeven ad614a706b
drm/xe/oa/uapi: Make bit masks unsigned
When building with gcc-5:

    In function ‘decode_oa_format.isra.26’,
	inlined from ‘xe_oa_set_prop_oa_format’ at drivers/gpu/drm/xe/xe_oa.c:1664:6:
    ././include/linux/compiler_types.h:510:38: error: call to ‘__compiletime_assert_1336’ declared with attribute error: FIELD_GET: mask is not constant
    [...]
    ./include/linux/bitfield.h:155:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
       __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
       ^
    drivers/gpu/drm/xe/xe_oa.c:1573:18: note: in expansion of macro ‘FIELD_GET’
      u32 bc_report = FIELD_GET(DRM_XE_OA_FORMAT_MASK_BC_REPORT, fmt);
		      ^

Fixes: b6fd51c621 ("drm/xe/oa/uapi: Define and parse OA stream properties")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240729092634.2227611-1-geert+renesas@glider.be
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit f2881dfdaa)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2024-08-19 10:44:18 -04:00
..
amdgpu_drm.h drm-misc-next for 6.11: 2024-06-21 10:30:31 +10:00
armada_drm.h
drm.h drm/syncobj: Add deadline support for syncobj waits 2023-12-02 01:17:45 +02:00
drm_fourcc.h drm/amdgpu: handle gfx12 in amdgpu_display_verify_sizes 2024-07-01 16:10:47 -04:00
drm_mode.h drm/uapi: Move drm_color_ctm_3x4 out from drm_mode.h 2024-05-07 14:14:30 +03:00
drm_sarea.h
etnaviv_drm.h Revert "drm/etnaviv: Expose a few more chipspecs to userspace" 2024-04-25 16:56:20 +02:00
exynos_drm.h
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 NPU profiling support 2024-05-15 07:42:23 +02:00
lima_drm.h
msm_drm.h drm/msm: Add MSM_PARAM_RAYTRACING uapi 2024-06-21 13:41:43 -07:00
nouveau_drm.h drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations 2024-05-13 22:27:33 +02:00
omap_drm.h
panfrost_drm.h drm/panfrost: Remove type name from internal struct again 2022-11-07 15:35:43 +00:00
panthor_drm.h drm/panthor: Fix sync-only jobs 2024-07-03 09:45:36 +02:00
pvr_drm.h drm/imagination: Numerous documentation fixes. 2023-11-28 18:56:03 +01:00
qaic_accel.h accel/qaic: Deprecate ->size field from attach slice IOCTL structure 2023-12-15 10:50:31 -07:00
qxl_drm.h
radeon_drm.h
tegra_drm.h
v3d_drm.h drm/v3d: Deprecate the use of the Performance Counters enum 2024-05-20 16:38:04 -03:00
vc4_drm.h
vgem_drm.h
virtgpu_drm.h drm/uapi: add explicit virtgpu context debug name 2023-11-11 21:31:00 +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/oa/uapi: Make bit masks unsigned 2024-08-19 10:44:18 -04:00