]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/i915/bdw: PCI IDs ending in 0xb are ULT.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 21 Jan 2015 19:46:32 +0000 (11:46 -0800)
committerLuis Henriques <luis.henriques@canonical.com>
Fri, 10 Apr 2015 09:03:51 +0000 (10:03 +0100)
commit 0dc6f20b9803f09726bbb682649d35cda8ef5b5d upstream.

When reviewing patch that fixes VGA on BDW Halo Jani noticed that
we also had other ULT IDs that weren't listed there.

So this follow-up patch add these pci-ids as halo and fix comments
on i915_pciids.h

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/gpu/drm/i915/i915_drv.h
include/drm/i915_pciids.h

index 67d5f61e29a9fb3f4b2102946253f8efe3114526..09501070d7cda5acfa93340caa9e6eae20d06675 100644 (file)
@@ -1900,6 +1900,7 @@ struct drm_i915_cmd_table {
                                 ((dev)->pdev->device & 0xFF00) == 0x0C00)
 #define IS_BDW_ULT(dev)                (IS_BROADWELL(dev) && \
                                 (((dev)->pdev->device & 0xf) == 0x6 || \
+                                ((dev)->pdev->device & 0xf) == 0xb  || \
                                 ((dev)->pdev->device & 0xf) == 0xe))
 #define IS_HSW_ULT(dev)                (IS_HASWELL(dev) && \
                                 ((dev)->pdev->device & 0xFF00) == 0x0A00)
index a70d4564789862a823fd074bbdeef0b175148d11..47116c87ab10f8d2d3ebca5a38bd12de868c27d8 100644 (file)
        INTEL_VGA_DEVICE((((gt) - 1) << 4) | (id), info)
 
 #define _INTEL_BDW_M_IDS(gt, info) \
-       _INTEL_BDW_M(gt, 0x1602, info), /* ULT */ \
+       _INTEL_BDW_M(gt, 0x1602, info), /* Halo */ \
        _INTEL_BDW_M(gt, 0x1606, info), /* ULT */ \
-       _INTEL_BDW_M(gt, 0x160B, info), /* Iris */ \
+       _INTEL_BDW_M(gt, 0x160B, info), /* ULT */ \
        _INTEL_BDW_M(gt, 0x160E, info) /* ULX */
 
 #define _INTEL_BDW_D_IDS(gt, info) \