aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2012-03-28 16:39:21 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-03-28 17:51:17 -0400
commit70a3eb7a3e598f92604267d8ed695057f257ddb0 (patch)
treeaa46edce0559af3781c9e6e5e7aa427947dfb731 /drivers/gpu/drm/i915/i915_drv.h
parenteb1cbe4848b01f9f073064377875bc7d71eb401b (diff)
drm/i915: add ValleyView driver structs and IS_VALLEYVIEW macro
For use by the rest of the ValleyView code. v2: fix desktop variant to not set is_mobile (Ben) Acked-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 6983b4bcbdea..30612f52b93b 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -255,6 +255,7 @@ struct intel_device_info {
255 u8 is_broadwater:1; 255 u8 is_broadwater:1;
256 u8 is_crestline:1; 256 u8 is_crestline:1;
257 u8 is_ivybridge:1; 257 u8 is_ivybridge:1;
258 u8 is_valleyview:1;
258 u8 has_fbc:1; 259 u8 has_fbc:1;
259 u8 has_pipe_cxsr:1; 260 u8 has_pipe_cxsr:1;
260 u8 has_hotplug:1; 261 u8 has_hotplug:1;
@@ -1002,6 +1003,7 @@ struct drm_i915_file_private {
1002#define IS_IRONLAKE_D(dev) ((dev)->pci_device == 0x0042) 1003#define IS_IRONLAKE_D(dev) ((dev)->pci_device == 0x0042)
1003#define IS_IRONLAKE_M(dev) ((dev)->pci_device == 0x0046) 1004#define IS_IRONLAKE_M(dev) ((dev)->pci_device == 0x0046)
1004#define IS_IVYBRIDGE(dev) (INTEL_INFO(dev)->is_ivybridge) 1005#define IS_IVYBRIDGE(dev) (INTEL_INFO(dev)->is_ivybridge)
1006#define IS_VALLEYVIEW(dev) (INTEL_INFO(dev)->is_valleyview)
1005#define IS_MOBILE(dev) (INTEL_INFO(dev)->is_mobile) 1007#define IS_MOBILE(dev) (INTEL_INFO(dev)->is_mobile)
1006 1008
1007/* 1009/*