diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2012-01-17 15:20:19 -0200 |
---|---|---|
committer | Eugeni Dodonov <eugeni@dodonov.net> | 2012-02-01 15:54:02 -0200 |
commit | 151cdcfe685ee280a4344dfc40e6087d74a5590f (patch) | |
tree | fe6adf0d3d87a31f2c61a2e5cb91f9b6f44bfc0a /include/drm | |
parent | 82c6938d232327233caac743a07639ac91bceb7e (diff) |
intel: query for LLC support
This adds support for querying the kernel about the LLC support in the
hardware.
In case the ioctl fails, we assume that it is present on GEN6 and GEN7.
v2: fix the return code checking
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/i915_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index de724964..af3ce174 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -287,6 +287,7 @@ typedef struct drm_i915_irq_wait { #define I915_PARAM_HAS_EXEC_CONSTANTS 14 #define I915_PARAM_HAS_RELAXED_DELTA 15 #define I915_PARAM_HAS_GEN7_SOL_RESET 16 +#define I915_PARAM_HAS_LLC 17 typedef struct drm_i915_getparam { int param; |