diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-03-09 13:45:59 +1100 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-03-09 13:47:16 +1100 |
commit | 1387545b350010a219f64db67ba75dbd7aeeccb2 (patch) | |
tree | ba7193783667f6a4ffd79437a3e4f99a0b51e766 | |
parent | 08215213e4d4b7725f06dea140a0b2dfd62dfbd7 (diff) |
handle llc and semaphore params
-rw-r--r-- | sys/dev/pci/drm/i915_dma.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_dma.c b/sys/dev/pci/drm/i915_dma.c index 1d29dddda55..2b19e2c499c 100644 --- a/sys/dev/pci/drm/i915_dma.c +++ b/sys/dev/pci/drm/i915_dma.c @@ -111,6 +111,12 @@ i915_getparam(struct inteldrm_softc *dev_priv, void *data) case I915_PARAM_HAS_GEN7_SOL_RESET: value = 1; break; + case I915_PARAM_HAS_LLC: + value = HAS_LLC(dev); + break; + case I915_PARAM_HAS_SEMAPHORES: + value = i915_semaphore_is_enabled(dev); + break; default: DRM_DEBUG("Unknown parameter %d\n", param->param); return (EINVAL); |