summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_dma.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-02-13 22:17:51 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-02-13 22:17:51 +1100
commit5dcd7f322380ae41b36ab9527e95c663ca819b59 (patch)
tree1da04e0268ed8484ed7a7f510521d58e6da78de6 /sys/dev/pci/drm/i915_dma.c
parentc19a3ce90d24ef01edb2b971e1905d2221c3b33f (diff)
claim to support pageflipping, no problems on 965
Diffstat (limited to 'sys/dev/pci/drm/i915_dma.c')
-rw-r--r--sys/dev/pci/drm/i915_dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_dma.c b/sys/dev/pci/drm/i915_dma.c
index 9b56d6a8457..1ab03d7c484 100644
--- a/sys/dev/pci/drm/i915_dma.c
+++ b/sys/dev/pci/drm/i915_dma.c
@@ -56,6 +56,9 @@ i915_getparam(struct inteldrm_softc *dev_priv, void *data)
case I915_PARAM_HAS_OVERLAY:
value = dev_priv->overlay ? 1 : 0;
break;
+ case I915_PARAM_HAS_PAGEFLIPPING:
+ value = 1;
+ break;
case I915_PARAM_HAS_BSD:
#ifdef notyet
// XXX support BSD ring