diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-01-22 02:28:10 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-01-22 02:28:10 +0000 |
commit | 05b23b75ee4ef0cc895a4e9fee1bf3e873d047e6 (patch) | |
tree | a253ebf0a5050936cacf070056dc9f95f0e364f6 /sys/dev | |
parent | 9b47098c90a41301e3d094960e68aaeac9a493a6 (diff) |
Match on Iris Pro Graphics 580 and other skylake GT4 ids and correct
the Iris Graphics P555 GT3 id.
Derived from the following linux commits:
drm/i915/skl: Add SKL GT4 PCI IDs
From Mika Kuoppala
15620206ae87ba9643ffa6f5ddb5471be7192006 in mainline linux
drm/i915: Update SKL SRV GT4 pci ids reference.
From Rodrigo Vivi
5390974f981907cd02d1cb48145b03471279877a in mainline linux
drm/i915/skl: Add missing SKL ID
From Michal Winiarski
ca7a45ba6fb9e7ceca56d10b91db29c2f3451a2e in mainline linux
Expanded version of a diff from ccardenas@.
Reported and tested by Bryan Vyhmeister.
Tested by and ok ccardenas@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_devlist.h | 5 | ||||
-rw-r--r-- | sys/dev/pci/drm/i915/i915_drv.c | 1 | ||||
-rw-r--r-- | sys/dev/pci/drm/i915_pciids.h | 12 |
3 files changed, 16 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/i915_devlist.h b/sys/dev/pci/drm/i915/i915_devlist.h index 684d3c4d39d..e24e165ec1b 100644 --- a/sys/dev/pci/drm/i915/i915_devlist.h +++ b/sys/dev/pci/drm/i915/i915_devlist.h @@ -148,7 +148,12 @@ static const struct pci_matchid i915_devices[] = { { 0x8086, 0x1926 }, { 0x8086, 0x1927 }, { 0x8086, 0x192b }, + { 0x8086, 0x192d }, + { 0x8086, 0x1932 }, + { 0x8086, 0x193b }, + { 0x8086, 0x193d }, { 0x8086, 0x192a }, + { 0x8086, 0x193a }, { 0x8086, 0x0a84 }, { 0x8086, 0x1a84 }, { 0x8086, 0x1a85 }, diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c index 4f352ea7dd0..aa3361110a1 100644 --- a/sys/dev/pci/drm/i915/i915_drv.c +++ b/sys/dev/pci/drm/i915/i915_drv.c @@ -468,6 +468,7 @@ static const struct intel_device_info intel_kabylake_gt3_info = { INTEL_SKL_GT1_IDS(&intel_skylake_info), \ INTEL_SKL_GT2_IDS(&intel_skylake_info), \ INTEL_SKL_GT3_IDS(&intel_skylake_gt3_info), \ + INTEL_SKL_GT4_IDS(&intel_skylake_gt3_info), \ INTEL_BXT_IDS(&intel_broxton_info), \ INTEL_KBL_GT1_IDS(&intel_kabylake_info), \ INTEL_KBL_GT2_IDS(&intel_kabylake_info), \ diff --git a/sys/dev/pci/drm/i915_pciids.h b/sys/dev/pci/drm/i915_pciids.h index 7887ca0f82d..d29c6b6ec40 100644 --- a/sys/dev/pci/drm/i915_pciids.h +++ b/sys/dev/pci/drm/i915_pciids.h @@ -281,12 +281,20 @@ INTEL_VGA_DEVICE(0x1926, info), /* ULT GT3 */ \ INTEL_VGA_DEVICE(0x1927, info), /* ULT GT3 */ \ INTEL_VGA_DEVICE(0x192B, info), /* Halo GT3 */ \ - INTEL_VGA_DEVICE(0x192A, info) /* SRV GT3 */ \ + INTEL_VGA_DEVICE(0x192D, info) /* SRV GT3 */ \ + +#define INTEL_SKL_GT4_IDS(info) \ + INTEL_VGA_DEVICE(0x1932, info), /* DT GT4 */ \ + INTEL_VGA_DEVICE(0x193B, info), /* Halo GT4 */ \ + INTEL_VGA_DEVICE(0x193D, info), /* WKS GT4 */ \ + INTEL_VGA_DEVICE(0x192A, info), /* SRV GT4 */ \ + INTEL_VGA_DEVICE(0x193A, info) /* SRV GT4e */ #define INTEL_SKL_IDS(info) \ INTEL_SKL_GT1_IDS(info), \ INTEL_SKL_GT2_IDS(info), \ - INTEL_SKL_GT3_IDS(info) + INTEL_SKL_GT3_IDS(info), \ + INTEL_SKL_GT4_IDS(info) #define INTEL_BXT_IDS(info) \ INTEL_VGA_DEVICE(0x0A84, info), \ |