diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-01-23 10:42:58 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-01-23 10:42:58 +0000 |
commit | 891e7c38ed8fbe2c82f817a1f0e2f1efa153a04a (patch) | |
tree | d5a762f4227bd0f569645227272b9909a6501539 /sys/dev/pci/drm/i915/i915_drv.h | |
parent | b8efa3a2a76b8f8fcabffc935f6922eb52406198 (diff) |
drm/i915: add HAS_DDI check
From Paulo Zanoni
d99994528e9946a78a505ca752fa3b73aa8c5a76 in ubuntu 3.8
affa935440733a79c5a9eb0e5357e2564ca4b355 in mainline linux
Diffstat (limited to 'sys/dev/pci/drm/i915/i915_drv.h')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_drv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.h b/sys/dev/pci/drm/i915/i915_drv.h index c345f3a21ff..af73df29b4b 100644 --- a/sys/dev/pci/drm/i915/i915_drv.h +++ b/sys/dev/pci/drm/i915/i915_drv.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_drv.h,v 1.45 2013/12/11 20:31:43 kettenis Exp $ */ +/* $OpenBSD: i915_drv.h,v 1.46 2014/01/23 10:42:57 jsg Exp $ */ /* i915_drv.h -- Private header for the I915 driver -*- linux-c -*- */ /* @@ -1620,6 +1620,8 @@ __i915_write(64, q) #define HAS_PIPE_CONTROL(dev) (INTEL_INFO(dev)->gen >= 5) +#define HAS_DDI(dev) (IS_HASWELL(dev)) + #define INTEL_PCH_DEVICE_ID_MASK 0xff00 #define INTEL_PCH_IBX_DEVICE_ID_TYPE 0x3b00 #define INTEL_PCH_CPT_DEVICE_ID_TYPE 0x1c00 |