summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/drm
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
commit885f5974cdf65b59415837ae97f5a14ef1350670 (patch)
tree66ac13de29c7f4932c5fcae11773df574e4e256a /include/arch/x86_64/drm
parent8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (diff)
feat: add gzip and new headers
Diffstat (limited to 'include/arch/x86_64/drm')
-rw-r--r--include/arch/x86_64/drm/drm.h2
-rw-r--r--include/arch/x86_64/drm/drm_mode.h7
-rw-r--r--include/arch/x86_64/drm/i915_drm.h8
-rw-r--r--include/arch/x86_64/drm/msm_drm.h5
-rw-r--r--include/arch/x86_64/drm/radeon_drm.h7
-rw-r--r--include/arch/x86_64/drm/virtgpu_drm.h7
6 files changed, 20 insertions, 16 deletions
diff --git a/include/arch/x86_64/drm/drm.h b/include/arch/x86_64/drm/drm.h
index ebd6ebb5..a928f61f 100644
--- a/include/arch/x86_64/drm/drm.h
+++ b/include/arch/x86_64/drm/drm.h
@@ -253,7 +253,7 @@ enum drm_stat_type {
_DRM_STAT_DMA, /**< DMA */
_DRM_STAT_SPECIAL, /**< Special DMA (e.g., priority or polled) */
_DRM_STAT_MISSED /**< Missed DMA opportunity */
- /* Add to the *END* of the list */
+ /* Add to the *END* of the list */
};
/*
diff --git a/include/arch/x86_64/drm/drm_mode.h b/include/arch/x86_64/drm/drm_mode.h
index 8b6da7da..8517ff0c 100644
--- a/include/arch/x86_64/drm/drm_mode.h
+++ b/include/arch/x86_64/drm/drm_mode.h
@@ -48,9 +48,10 @@ extern "C" {
#define DRM_MODE_TYPE_BUILTIN (1 << 0) /* deprecated */
#define DRM_MODE_TYPE_CLOCK_C \
- ((1 << 1) | DRM_MODE_TYPE_BUILTIN) /* deprecated */
-#define DRM_MODE_TYPE_CRTC_C ((1 << 2) | DRM_MODE_TYPE_BUILTIN) /* deprecated \
- */
+ ((1 << 1) | DRM_MODE_TYPE_BUILTIN) /* deprecated */
+#define DRM_MODE_TYPE_CRTC_C \
+ ((1 << 2) | DRM_MODE_TYPE_BUILTIN) /* deprecated \
+ */
#define DRM_MODE_TYPE_PREFERRED (1 << 3)
#define DRM_MODE_TYPE_DEFAULT (1 << 4) /* deprecated */
#define DRM_MODE_TYPE_USERDEF (1 << 5)
diff --git a/include/arch/x86_64/drm/i915_drm.h b/include/arch/x86_64/drm/i915_drm.h
index 68f08e16..e0403cb6 100644
--- a/include/arch/x86_64/drm/i915_drm.h
+++ b/include/arch/x86_64/drm/i915_drm.h
@@ -2115,10 +2115,10 @@ struct drm_i915_gem_context_param {
#define I915_CONTEXT_MAX_USER_PRIORITY 1023 /* inclusive */
#define I915_CONTEXT_DEFAULT_PRIORITY 0
#define I915_CONTEXT_MIN_USER_PRIORITY -1023 /* inclusive */
- /*
- * When using the following param, value should be a pointer to
- * drm_i915_gem_context_param_sseu.
- */
+ /*
+ * When using the following param, value should be a pointer to
+ * drm_i915_gem_context_param_sseu.
+ */
#define I915_CONTEXT_PARAM_SSEU 0x7
/*
diff --git a/include/arch/x86_64/drm/msm_drm.h b/include/arch/x86_64/drm/msm_drm.h
index 762aef57..efc01123 100644
--- a/include/arch/x86_64/drm/msm_drm.h
+++ b/include/arch/x86_64/drm/msm_drm.h
@@ -306,8 +306,9 @@ struct drm_msm_gem_submit_bo {
#define MSM_SUBMIT_SUDO 0x10000000 /* run submitted cmds from RB */
#define MSM_SUBMIT_SYNCOBJ_IN 0x08000000 /* enable input syncobj */
#define MSM_SUBMIT_SYNCOBJ_OUT 0x04000000 /* enable output syncobj */
-#define MSM_SUBMIT_FENCE_SN_IN 0x02000000 /* userspace passes in seqno fence \
- */
+#define MSM_SUBMIT_FENCE_SN_IN \
+ 0x02000000 /* userspace passes in seqno fence \
+ */
#define MSM_SUBMIT_FLAGS \
(MSM_SUBMIT_NO_IMPLICIT | MSM_SUBMIT_FENCE_FD_IN | \
MSM_SUBMIT_FENCE_FD_OUT | MSM_SUBMIT_SUDO | MSM_SUBMIT_SYNCOBJ_IN | \
diff --git a/include/arch/x86_64/drm/radeon_drm.h b/include/arch/x86_64/drm/radeon_drm.h
index 825b8919..6ac625ab 100644
--- a/include/arch/x86_64/drm/radeon_drm.h
+++ b/include/arch/x86_64/drm/radeon_drm.h
@@ -1055,9 +1055,10 @@ struct drm_radeon_cs {
#define RADEON_INFO_WANT_HYPERZ 0x07
#define RADEON_INFO_WANT_CMASK 0x08 /* get access to CMASK on r300 */
#define RADEON_INFO_CLOCK_CRYSTAL_FREQ 0x09 /* clock crystal frequency */
-#define RADEON_INFO_NUM_BACKENDS 0x0a /* DB/backends for r600+ - need for OQ \
- */
-#define RADEON_INFO_NUM_TILE_PIPES 0x0b /* tile pipes for r600+ */
+#define RADEON_INFO_NUM_BACKENDS \
+ 0x0a /* DB/backends for r600+ - need for OQ \
+ */
+#define RADEON_INFO_NUM_TILE_PIPES 0x0b /* tile pipes for r600+ */
#define RADEON_INFO_FUSION_GART_WORKING \
0x0c /* fusion writes to GTT were broken before this */
#define RADEON_INFO_BACKEND_MAP 0x0d /* pipe to backend map, needed by mesa */
diff --git a/include/arch/x86_64/drm/virtgpu_drm.h b/include/arch/x86_64/drm/virtgpu_drm.h
index 4f9458d6..77b8c034 100644
--- a/include/arch/x86_64/drm/virtgpu_drm.h
+++ b/include/arch/x86_64/drm/virtgpu_drm.h
@@ -92,9 +92,10 @@ struct drm_virtgpu_execbuffer {
#define VIRTGPU_PARAM_CAPSET_QUERY_FIX 2 /* do we have the capset fix */
#define VIRTGPU_PARAM_RESOURCE_BLOB 3 /* DRM_VIRTGPU_RESOURCE_CREATE_BLOB */
#define VIRTGPU_PARAM_HOST_VISIBLE 4 /* Host blob resources are mappable */
-#define VIRTGPU_PARAM_CROSS_DEVICE 5 /* Cross virtio-device resource sharing \
- */
-#define VIRTGPU_PARAM_CONTEXT_INIT 6 /* DRM_VIRTGPU_CONTEXT_INIT */
+#define VIRTGPU_PARAM_CROSS_DEVICE \
+ 5 /* Cross virtio-device resource sharing \
+ */
+#define VIRTGPU_PARAM_CONTEXT_INIT 6 /* DRM_VIRTGPU_CONTEXT_INIT */
#define VIRTGPU_PARAM_SUPPORTED_CAPSET_IDs \
7 /* Bitmask of supported capability set ids */
#define VIRTGPU_PARAM_EXPLICIT_DEBUG_NAME \