diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2022-09-29 19:24:34 +0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-11-17 12:57:06 +0000 |
commit | 02608c25ecc5b33f53062f9c1e3067b8dfcc08ab (patch) | |
tree | 88b7225d92b444ddcc953bc3324118c82c2ffa51 /include | |
parent | 61fef1ed726b69b28ece60fb10bd5a65fcefb296 (diff) | |
download | mesa-02608c25ecc5b33f53062f9c1e3067b8dfcc08ab.tar.gz |
drm-uapi: import i915_drm.h changes for the new OA report type
To be replace by a proper drm-next update.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18893>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm-uapi/i915_drm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/drm-uapi/i915_drm.h b/include/drm-uapi/i915_drm.h index 1de0433f9a2..bfa8368e083 100644 --- a/include/drm-uapi/i915_drm.h +++ b/include/drm-uapi/i915_drm.h @@ -749,6 +749,12 @@ typedef struct drm_i915_irq_wait { /* Query if the kernel supports the I915_USERPTR_PROBE flag. */ #define I915_PARAM_HAS_USERPTR_PROBE 56 +/* + * Frequency of the timestamps in OA reports. This used to be the same as the CS + * timestamp frequency, but differs on some platforms. + */ +#define I915_PARAM_OA_TIMESTAMP_FREQUENCY 57 + /* Must be kept compact -- no holes and well documented */ /** @@ -2650,6 +2656,10 @@ enum drm_i915_oa_format { I915_OA_FORMAT_A12_B8_C8, I915_OA_FORMAT_A32u40_A4u32_B8_C8, + /* DG2 */ + I915_OAR_FORMAT_A32u40_A4u32_B8_C8, + I915_OA_FORMAT_A24u40_A14u32_B8_C8, + I915_OA_FORMAT_MAX /* non-ABI */ }; |