aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov2012-01-17 11:20:19 -0600
committerEugeni Dodonov2012-02-01 11:54:02 -0600
commit151cdcfe685ee280a4344dfc40e6087d74a5590f (patch)
treefe6adf0d3d87a31f2c61a2e5cb91f9b6f44bfc0a /include/drm/i915_drm.h
parent82c6938d232327233caac743a07639ac91bceb7e (diff)
downloadexternal-libgbm-151cdcfe685ee280a4344dfc40e6087d74a5590f.tar.gz
external-libgbm-151cdcfe685ee280a4344dfc40e6087d74a5590f.tar.xz
external-libgbm-151cdcfe685ee280a4344dfc40e6087d74a5590f.zip
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/i915_drm.h')
-rw-r--r--include/drm/i915_drm.h1
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 {
287#define I915_PARAM_HAS_EXEC_CONSTANTS 14 287#define I915_PARAM_HAS_EXEC_CONSTANTS 14
288#define I915_PARAM_HAS_RELAXED_DELTA 15 288#define I915_PARAM_HAS_RELAXED_DELTA 15
289#define I915_PARAM_HAS_GEN7_SOL_RESET 16 289#define I915_PARAM_HAS_GEN7_SOL_RESET 16
290#define I915_PARAM_HAS_LLC 17
290 291
291typedef struct drm_i915_getparam { 292typedef struct drm_i915_getparam {
292 int param; 293 int param;