diff options
author | 2013-03-27 09:26:45 +0000 | |
---|---|---|
committer | 2013-03-27 09:26:45 +0000 | |
commit | 0de657c2477fa4c212f4ad01da90c14d88434f3d (patch) | |
tree | 6e2d46d38795b992d9ccca4f645246d1a8a77287 /sys | |
parent | Further updates to pmap7. Fixes some problems and removes debug printfs. (diff) | |
download | wireguard-openbsd-0de657c2477fa4c212f4ad01da90c14d88434f3d.tar.xz wireguard-openbsd-0de657c2477fa4c212f4ad01da90c14d88434f3d.zip |
Claim to support I915_PARAM_HAS_COHERENT_RINGS.
While seemingly unused by userspace at the moment this was apparently
added to resolve an abi problem with libva and the BSD ring.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_dma.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/i915_dma.c b/sys/dev/pci/drm/i915/i915_dma.c index 89bb3920210..117defd19b3 100644 --- a/sys/dev/pci/drm/i915/i915_dma.c +++ b/sys/dev/pci/drm/i915/i915_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_dma.c,v 1.2 2013/03/20 12:37:41 jsg Exp $ */ +/* $OpenBSD: i915_dma.c,v 1.3 2013/03/27 09:26:45 jsg Exp $ */ /* i915_dma.c -- DMA support for the I915 -*- linux-c -*- */ /* @@ -106,6 +106,9 @@ i915_getparam(struct inteldrm_softc *dev_priv, void *data) return EINVAL; #endif break; + case I915_PARAM_HAS_COHERENT_RINGS: + value = 1; + break; case I915_PARAM_HAS_EXEC_CONSTANTS: value = INTEL_INFO(dev)->gen >= 4; break; |