drm/i915: Add support for mobile Haswell SDVs.
Subsystems (3)
PATCH 1/1 drm/i915: Add support for mobile Haswell SDVs.
From: Robert Hooker <[email protected]>
Mobile variants have a different pci id. Add it, and mark the previous pci id as a desktop variant.
Signed-off-by Robert Hooker <[email protected]>
--- drivers/char/agp/intel-agp.h | 3 ++- drivers/char/agp/intel-gtt.c | 4 +++- drivers/gpu/drm/i915/i915_drv.c | 1 + 3 files changed, 6 insertions(+), 2 deletions(-)
drivers/char/agp/intel-agp.h +2 -1
@@ -248,7 +248,8 @@#define PCI_DEVICE_ID_INTEL_HASWELL_S_HB 0x0408/* Server */ #define PCI_DEVICE_ID_INTEL_HASWELL_S_GT1_IG 0x040a#define PCI_DEVICE_ID_INTEL_HASWELL_S_GT2_IG 0x041a -#define PCI_DEVICE_ID_INTEL_HASWELL_SDV 0x0c16/* SDV */ +#define PCI_DEVICE_ID_INTEL_HASWELL_D_SDV 0x0c16/* Desktop SDV */ +#define PCI_DEVICE_ID_INTEL_HASWELL_M_SDV 0x0c26/* Mobile SDV */ #define PCI_DEVICE_ID_INTEL_HASWELL_E_HB 0x0c04 int intel_gmch_probe(struct pci_dev *pdev,
drivers/char/agp/intel-gtt.c +3 -1
@@ -1501,7 +1501,9 @@ static const struct intel_gtt_driver_description { "Haswell", &sandybridge_gtt_driver }, {PCI_DEVICE_ID_INTEL_HASWELL_S_GT2_IG , "Haswell", &sandybridge_gtt_driver }, - { PCI_DEVICE_ID_INTEL_HASWELL_SDV, + { PCI_DEVICE_ID_INTEL_HASWELL_D_SDV, + "Haswell", &sandybridge_gtt_driver }, + { PCI_DEVICE_ID_INTEL_HASWELL_M_SDV, "Haswell", &sandybridge_gtt_driver }, { 0, NULL, NULL } };
drivers/gpu/drm/i915/i915_drv.c +1 -0
@@ -358,6 +358,7 @@ static const struct pci_device_id pciidlist[] = { /* aka */INTEL_VGA_DEVICE (0x0406 , &intel_haswell_m_info),/* GT1 mobile */ INTEL_VGA_DEVICE (0x0416 , &intel_haswell_m_info),/* GT2 mobile */ INTEL_VGA_DEVICE (0x0c16 , &intel_haswell_d_info),/* SDV */ +INTEL_VGA_DEVICE (0x0c26 , &intel_haswell_m_info),/* Mobile SDV */ {0, 0, 0} };
Signature · 1 line
1.7.9.5
it seems this is wrong and desktop haswell SDPs are 8086:0c02, low end mobile (?) is 8086:0c16 (which is currently in there marked as a desktop version) and 8086:0c26 is high end mobile parts. can anyone confirm that? I've only seen 8086:0c02 and 8086:0c26 versions and was just assuming 8086:0c16 was desktop because it was marked as such but that doesn't fit with the previous naming convention.