summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_pci.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-12-07 22:48:09 +0200
committerJani Nikula <jani.nikula@intel.com>2016-12-07 23:28:33 +0200
commit73f67aa8cc3c0ab7299f2fc81049a7d8d934fef8 (patch)
treed92d6b2e7125f13ac2370e900575858966107460 /drivers/gpu/drm/i915/i915_pci.c
parentccc24b39a6fa3b0ba6b4310c10d7e0288ec8db10 (diff)
downloadop-kernel-dev-73f67aa8cc3c0ab7299f2fc81049a7d8d934fef8.zip
op-kernel-dev-73f67aa8cc3c0ab7299f2fc81049a7d8d934fef8.tar.gz
drm/i915: distinguish G33 and Pineview from each other
Pineview deserves to use its own platform enum (which was already added, unused, previously). IS_G33() no longer matches Pineview, and gets replaced by IS_G33() || IS_PINEVIEW() or equivalent. Pineview is no longer an outlier among platform definitions. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1481143689-19672-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
-rw-r--r--drivers/gpu/drm/i915/i915_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index f7ec6e9..93f50ef 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -141,7 +141,7 @@ static const struct intel_device_info intel_g33_info = {
static const struct intel_device_info intel_pineview_info = {
GEN3_FEATURES,
- .platform = INTEL_G33, .is_pineview = 1, .is_mobile = 1,
+ .platform = INTEL_PINEVIEW, .is_mobile = 1,
.has_hotplug = 1,
.has_overlay = 1,
};
OpenPOWER on IntegriCloud