diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2017-07-06 14:30:41 -0700 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2017-07-06 14:31:01 -0700 |
commit | 3e986137888541853478b76f280ffa1fd816f445 (patch) | |
tree | f21c138dd297548621b25f2296ccb106792d3a9b | |
parent | 11a924c174f45bab4b2e6240ca1499e1a63b241e (diff) |
intel: Merge latest i915 uapi
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r-- | src/intel/drm/i915_drm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/drm/i915_drm.h b/src/intel/drm/i915_drm.h index c26bf7c125..873eaa0ca2 100644 --- a/src/intel/drm/i915_drm.h +++ b/src/intel/drm/i915_drm.h @@ -431,6 +431,13 @@ typedef struct drm_i915_irq_wait { */ #define I915_PARAM_HAS_EXEC_BATCH_FIRST 48 +/* What version of the MOCS table we have. For GEN9 GPUs, the PRM defined + * non-optimal settings for the MOCS table. As a result, we were required to use a + * small subset, and later add new settings. This param allows userspace to + * determine which settings are there. + */ +#define I915_PARAM_MOCS_TABLE_VERSION 49 + typedef struct drm_i915_getparam { __s32 param; /* |