summaryrefslogtreecommitdiff
path: root/include/drm-uapi/msm_drm.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-09-25 22:23:54 +0300
committerKamil Konieczny <kamil.konieczny@linux.intel.com>2024-10-02 15:57:32 +0200
commit909157f3cc3c0676a4f896752276d438c3ec3959 (patch)
treed0aeb1bc6cd6059687eea5c6311a1339e4b88c45 /include/drm-uapi/msm_drm.h
parent4ade707fbd17f6300b8c444e2d86216005f199e5 (diff)
include/drm-uapi: Update uapi headers
Sync uapi headers with drm-next commit d7126c0cfc13 ("Merge tag 'drm-xe-next-fixes-2024-09-19' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next") Note that headers for old dri1 drivers are now gone, and we gain a bunch of new headers for various new drivers (gpu and accel). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Diffstat (limited to 'include/drm-uapi/msm_drm.h')
-rw-r--r--include/drm-uapi/msm_drm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm-uapi/msm_drm.h b/include/drm-uapi/msm_drm.h
index 6c34272a1..2377147b6 100644
--- a/include/drm-uapi/msm_drm.h
+++ b/include/drm-uapi/msm_drm.h
@@ -86,6 +86,10 @@ struct drm_msm_timespec {
#define MSM_PARAM_CMDLINE 0x0d /* WO: override for task cmdline */
#define MSM_PARAM_VA_START 0x0e /* RO: start of valid GPU iova range */
#define MSM_PARAM_VA_SIZE 0x0f /* RO: size of valid GPU iova range (bytes) */
+#define MSM_PARAM_HIGHEST_BANK_BIT 0x10 /* RO */
+#define MSM_PARAM_RAYTRACING 0x11 /* RO */
+#define MSM_PARAM_UBWC_SWIZZLE 0x12 /* RO */
+#define MSM_PARAM_MACROTILE_MODE 0x13 /* RO */
/* For backwards compat. The original support for preemption was based on
* a single ring per priority level so # of priority levels equals the #
@@ -139,6 +143,8 @@ struct drm_msm_gem_new {
#define MSM_INFO_GET_NAME 0x03 /* get debug name, returned by pointer */
#define MSM_INFO_SET_IOVA 0x04 /* set the iova, passed by value */
#define MSM_INFO_GET_FLAGS 0x05 /* get the MSM_BO_x flags */
+#define MSM_INFO_SET_METADATA 0x06 /* set userspace metadata */
+#define MSM_INFO_GET_METADATA 0x07 /* get userspace metadata */
struct drm_msm_gem_info {
__u32 handle; /* in */