diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-03-26 03:40:54 -0400 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2019-04-01 12:15:14 -0400 |
commit | 86d35d4e7625f7c056d81316da107bd3a7564fb3 (patch) | |
tree | 0624032de3c10b48714b1813730ee9e1d4f1fad6 /include/drm | |
parent | ee8efa80799f0f7d84c87bec6c4def7fa3556b95 (diff) |
drm/i915: Split Pineview device info into desktop and mobile
This allows the IS_PINEVIEW_<G|M> macros to be removed and avoid
duplication of device ids already defined in i915_pciids.h.
!IS_MOBILE check can be used in place of existing IS_PINEVIEW_G call
sites.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326074057.27833-2-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/i915_pciids.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h index c7cdbfc4d033..cb9b5b35aa2c 100644 --- a/include/drm/i915_pciids.h +++ b/include/drm/i915_pciids.h | |||
@@ -108,8 +108,10 @@ | |||
108 | INTEL_VGA_DEVICE(0x2e42, info), /* B43_G */ \ | 108 | INTEL_VGA_DEVICE(0x2e42, info), /* B43_G */ \ |
109 | INTEL_VGA_DEVICE(0x2e92, info) /* B43_G.1 */ | 109 | INTEL_VGA_DEVICE(0x2e92, info) /* B43_G.1 */ |
110 | 110 | ||
111 | #define INTEL_PINEVIEW_IDS(info) \ | 111 | #define INTEL_PINEVIEW_G_IDS(info) \ |
112 | INTEL_VGA_DEVICE(0xa001, info), \ | 112 | INTEL_VGA_DEVICE(0xa001, info) |
113 | |||
114 | #define INTEL_PINEVIEW_M_IDS(info) \ | ||
113 | INTEL_VGA_DEVICE(0xa011, info) | 115 | INTEL_VGA_DEVICE(0xa011, info) |
114 | 116 | ||
115 | #define INTEL_IRONLAKE_D_IDS(info) \ | 117 | #define INTEL_IRONLAKE_D_IDS(info) \ |