Skip to contentSkip to conversation

drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.

PATCH In review Anusha Srivatsa 3 participants 9 messages Jun 7, 2017 – Jun 8, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.

Add PCI Ids for S Sku following the BSpec.

v2: Remove the unused INTEL_CFL_IDS.(Rodrigo)

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 4 ++++
 2 files changed, 5 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index d90942c..3980305 100644
@@ -491,6 +491,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_KBL_GT3_IDS(&intel_kabylake_gt3_info),
 	INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
 	INTEL_CNL_IDS(&intel_cannonlake_info),
+	INTEL_CFL_S_IDS(&intel_coffeelake_info),
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +4 -0
index 7d2696a..5c5699f 100644
@@ -325,6 +325,10 @@
 	INTEL_VGA_DEVICE(0x5926, info), /* ULT GT3 */ \
 	INTEL_VGA_DEVICE(0x5927, info) /* ULT GT3 */
 
+#define INTEL_CFL_S_IDS(info) \
+	INTEL_VGA_DEVICE(0x3E90, info), /* SRV GT1 */ \
+	INTEL_VGA_DEVICE(0x3E92, info)  /* SRV GT2 */
+
 #define INTEL_KBL_GT4_IDS(info) \
 	INTEL_VGA_DEVICE(0x593B, info) /* Halo GT4 */
 
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

PATCH 2/3 drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.

Add PCI Ids for H Sku by following the BSpec.

v2: Remove unused INTEL_CFL_IDS.(Rodrigo).

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 3 +++
 2 files changed, 4 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index 3980305..d0ca63a 100644
@@ -492,6 +492,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
 	INTEL_CNL_IDS(&intel_cannonlake_info),
 	INTEL_CFL_S_IDS(&intel_coffeelake_info),
+	INTEL_CFL_H_IDS(&intel_coffeelake_info),
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +3 -0
index 5c5699f..2a548b5 100644
@@ -329,6 +329,9 @@
 	INTEL_VGA_DEVICE(0x3E90, info), /* SRV GT1 */ \
 	INTEL_VGA_DEVICE(0x3E92, info)  /* SRV GT2 */
 
+#define INTEL_CFL_H_IDS(info) \
+	INTEL_VGA_DEVICE(0x3E94, info) /* Halo GT2 */
+
 #define INTEL_KBL_GT4_IDS(info) \
 	INTEL_VGA_DEVICE(0x593B, info) /* Halo GT4 */
 
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
maintainer
#2 lore raw

Re: [PATCH 2/3] drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.

Quoted 28 lines · Anusha Srivatsa

Add PCI Ids for H Sku by following the BSpec.

v2: Remove unused INTEL_CFL_IDS.(Rodrigo).

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 3 +++
 2 files changed, 4 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index 3980305..d0ca63a 100644
@@ -492,6 +492,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
 	INTEL_CNL_IDS(&intel_cannonlake_info),
 	INTEL_CFL_S_IDS(&intel_coffeelake_info),
+	INTEL_CFL_H_IDS(&intel_coffeelake_info),
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +0 -0
index 5c5699f..2a548b5 100644

include/drm/i915_pciids.h line 334

Quoted 6 lines
include/drm/i915_pciids.h +3 -0
@@ -329,6 +329,9 @@
 	INTEL_VGA_DEVICE(0x3E90, info), /* SRV GT1 */ \
 	INTEL_VGA_DEVICE(0x3E92, info)  /* SRV GT2 */
 
+#define INTEL_CFL_H_IDS(info) \
+	INTEL_VGA_DEVICE(0x3E94, info) /* Halo GT2 */
+

missing 0x3E9B
with that feel free to include my rv-b

include/drm/i915_pciids.h line 337

Quoted 3 lines
include/drm/i915_pciids.h +0 -0
 #define INTEL_KBL_GT4_IDS(info) \
 	INTEL_VGA_DEVICE(0x593B, info) /* Halo GT4 */
 

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw

Re: [PATCH 2/3] drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.

Quoted 41 lines

-----Original Message-----
From: Vivi, Rodrigo
Sent: Wednesday, June 7, 2017 2:26 PM
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH 2/3] drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.

Quoted 31 lines · Anusha Srivatsa

Add PCI Ids for H Sku by following the BSpec.

v2: Remove unused INTEL_CFL_IDS.(Rodrigo).

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 3 +++
 2 files changed, 4 insertions(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_pci.c index 3980305..d0ca63a 100644

drivers/gpu/drm/i915/i915_pci.c +1 -0
@@ -492,6 +492,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
 	INTEL_CNL_IDS(&intel_cannonlake_info),
 	INTEL_CFL_S_IDS(&intel_coffeelake_info),
+	INTEL_CFL_H_IDS(&intel_coffeelake_info),
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +0 -0
index 5c5699f..2a548b5 100644
@@ -329,6 +329,9 @@
 	INTEL_VGA_DEVICE(0x3E90, info), /* SRV GT1 */ \
 	INTEL_VGA_DEVICE(0x3E92, info)  /* SRV GT2 */
 
Quoted 6 lines

include/drm/i915_pciids.h line 334

Quoted 3 lines
include/drm/i915_pciids.h +3 -0
+#define INTEL_CFL_H_IDS(info) \
+	INTEL_VGA_DEVICE(0x3E94, info) /* Halo GT2 */
+

missing 0x3E9B
with that feel free to include my rv-b

Another look at BSpec confirmed to me that the missing ID is 0x3E95. Patch to follow soon.

Anusha

Quoted 3 lines

include/drm/i915_pciids.h line 337

Quoted 3 lines
include/drm/i915_pciids.h +0 -0
 #define INTEL_KBL_GT4_IDS(info) \
 	INTEL_VGA_DEVICE(0x593B, info) /* Halo GT4 */
 

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw

PATCH 3/3 drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.

In reply to Anusha Srivatsa

Add PCI Ids for U Skus of Coffeelake.

v2: Use intel_coffeelake_gt3_info, in accordance to- Rodrigo's patch:
https://patchwork.freedesktop.org/patch/160148/

v3: Renove unused INTEL_CFL_IDS(Rodrigo).

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 6 ++++++
 2 files changed, 7 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index d0ca63a..fbe89bf 100644
@@ -493,6 +493,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_CNL_IDS(&intel_cannonlake_info),
 	INTEL_CFL_S_IDS(&intel_coffeelake_info),
 	INTEL_CFL_H_IDS(&intel_coffeelake_info),
+	INTEL_CFL_U_IDS(&intel_coffeelake_gt3_info),
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +6 -0
index 2a548b5..dc6ae6d5 100644
@@ -361,4 +361,10 @@
 	INTEL_CNL_U_GT2_IDS(info), \
 	INTEL_CNL_Y_GT2_IDS(info)
 
+#define INTEL_CFL_U_IDS(info) \
+	INTEL_VGA_DEVICE(0x3EA6, info), /* ULT GT3 */ \
+	INTEL_VGA_DEVICE(0x3EA7, info), /* ULT GT3 */ \
+	INTEL_VGA_DEVICE(0x3EA8, info), /* ULT GT3 */ \
+	INTEL_VGA_DEVICE(0x3EA5, info)  /* ULT GT3 */
+
 #endif /* _I915_PCIIDS_H */
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
maintainer Reviewed-by on v1 3/3
#5 lore raw

Re: [PATCH 3/3] drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.

Quoted 32 lines · Anusha Srivatsa

Add PCI Ids for U Skus of Coffeelake.

v2: Use intel_coffeelake_gt3_info, in accordance to- Rodrigo's patch:
https://patchwork.freedesktop.org/patch/160148/

v3: Renove unused INTEL_CFL_IDS(Rodrigo).

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 6 ++++++
 2 files changed, 7 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index d0ca63a..fbe89bf 100644
@@ -493,6 +493,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_CNL_IDS(&intel_cannonlake_info),
 	INTEL_CFL_S_IDS(&intel_coffeelake_info),
 	INTEL_CFL_H_IDS(&intel_coffeelake_info),
+	INTEL_CFL_U_IDS(&intel_coffeelake_gt3_info),
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +0 -0
index 2a548b5..dc6ae6d5 100644

include/drm/i915_pciids.h line 370

Quoted 10 lines
include/drm/i915_pciids.h +6 -0
@@ -361,4 +361,10 @@
 	INTEL_CNL_U_GT2_IDS(info), \
 	INTEL_CNL_Y_GT2_IDS(info)
 
+#define INTEL_CFL_U_IDS(info) \
+	INTEL_VGA_DEVICE(0x3EA6, info), /* ULT GT3 */ \
+	INTEL_VGA_DEVICE(0x3EA7, info), /* ULT GT3 */ \
+	INTEL_VGA_DEVICE(0x3EA8, info), /* ULT GT3 */ \
+	INTEL_VGA_DEVICE(0x3EA5, info)  /* ULT GT3 */
+
 #endif /* _I915_PCIIDS_H */

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw

✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.

In reply to Anusha Srivatsa
== Series Details ==

== Series Details ==

Series: series starting with [1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.
URL : https://patchwork.freedesktop.org/series/25419/
State : failure

== Summary ==

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC [M]  drivers/gpu/drm/i915/i915_pci.o
In file included from ./include/drm/i915_drm.h:29:0,
                 from drivers/gpu/drm/i915/i915_gem_object.h:34,
                 from drivers/gpu/drm/i915/i915_vma.h:34,
                 from drivers/gpu/drm/i915/intel_uc.h:31,
                 from drivers/gpu/drm/i915/i915_drv.h:61,
                 from drivers/gpu/drm/i915/i915_pci.c:29:
drivers/gpu/drm/i915/i915_pci.c:478:19: error: ‘intel_coffeelake_info’ undeclared here (not in a function)
  INTEL_CFL_S_IDS(&intel_coffeelake_info),
                   ^
./include/drm/i915_pciids.h:42:18: note: in definition of macro ‘INTEL_VGA_DEVICE’
  (unsigned long) info }
                  ^

drivers/gpu/drm/i915/i915_pci.c:478:2: note: in expansion of macro ‘INTEL_CFL_S_IDS’
INTEL_CFL_S_IDS(&intel_coffeelake_info),
^
drivers/gpu/drm/i915/i915_pci.c:480:19: error: ‘intel_coffeelake_gt3_info’ undeclared here (not in a function)
INTEL_CFL_U_IDS(&intel_coffeelake_gt3_info),

                   ^
./include/drm/i915_pciids.h:42:18: note: in definition of macro ‘INTEL_VGA_DEVICE’
  (unsigned long) info }
                  ^

drivers/gpu/drm/i915/i915_pci.c:480:2: note: in expansion of macro ‘INTEL_CFL_U_IDS’
INTEL_CFL_U_IDS(&intel_coffeelake_gt3_info),
^
scripts/Makefile.build:302: recipe for target 'drivers/gpu/drm/i915/i915_pci.o' failed make[4]: *** [drivers/gpu/drm/i915/i915_pci.o] Error 1 scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm/i915' failed make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm' failed make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu' failed make[1]: *** [drivers/gpu] Error 2
Makefile:1016: recipe for target 'drivers' failed
make: *** [drivers] Error 2

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

maintainer
#7 lore raw
In reply to Anusha Srivatsa
Quoted 28 lines · Anusha Srivatsa

Add PCI Ids for S Sku following the BSpec.

v2: Remove the unused INTEL_CFL_IDS.(Rodrigo)

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 4 ++++
 2 files changed, 5 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index d90942c..3980305 100644
@@ -491,6 +491,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_KBL_GT3_IDS(&intel_kabylake_gt3_info),
 	INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
 	INTEL_CNL_IDS(&intel_cannonlake_info),
+	INTEL_CFL_S_IDS(&intel_coffeelake_info),
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +0 -0
index 7d2696a..5c5699f 100644

include/drm/i915_pciids.h line 330

Quoted 6 lines
include/drm/i915_pciids.h +3 -0
@@ -325,6 +325,10 @@
 	INTEL_VGA_DEVICE(0x5926, info), /* ULT GT3 */ \
 	INTEL_VGA_DEVICE(0x5927, info) /* ULT GT3 */
 
+#define INTEL_CFL_S_IDS(info) \
+	INTEL_VGA_DEVICE(0x3E90, info), /* SRV GT1 */ \
+	INTEL_VGA_DEVICE(0x3E92, info)  /* SRV GT2 */

you missed 0x3E93 and 0x3E91
with that in place feel free to include my rv-b

include/drm/i915_pciids.h line 334

Quoted 4 lines
include/drm/i915_pciids.h +1 -0
+
 #define INTEL_KBL_GT4_IDS(info) \
 	INTEL_VGA_DEVICE(0x593B, info) /* Halo GT4 */
 

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

maintainer
#8 lore raw
Quoted 12 lines · Rodrigo Vivi
Quoted 11 lines · Anusha Srivatsa

Add PCI Ids for S Sku following the BSpec.

v2: Remove the unused INTEL_CFL_IDS.(Rodrigo)

---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 4 ++++
 2 files changed, 5 insertions(+)
Quoted 9 lines

drivers/gpu/drm/i915/i915_pci.c static const struct pci_device_id pciidlist[] = { · line 494

Quoted 9 lines
drivers/gpu/drm/i915/i915_pci.c +1 -0
index d90942c..3980305 100644
@@ -491,6 +491,7 @@ static const struct pci_device_id pciidlist[] = {
 	INTEL_KBL_GT3_IDS(&intel_kabylake_gt3_info),
 	INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
 	INTEL_CNL_IDS(&intel_cannonlake_info),
+	INTEL_CFL_S_IDS(&intel_coffeelake_info),

ops, besides adding more pci ids please move this above CNL please.

pleases check my rebased versions:
https://patchwork.freedesktop.org/series/25442/

same apply to all 3 patches.

Quoted 11 lines
Quoted 11 lines
drivers/gpu/drm/i915/i915_pci.c +0 -0
 	{0, 0, 0}
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
include/drm/i915_pciids.h +0 -0
index 7d2696a..5c5699f 100644
@@ -325,6 +325,10 @@
 	INTEL_VGA_DEVICE(0x5926, info), /* ULT GT3 */ \
 	INTEL_VGA_DEVICE(0x5927, info) /* ULT GT3 */
 
Quoted 12 lines

include/drm/i915_pciids.h line 330

Quoted 3 lines
include/drm/i915_pciids.h +3 -0
+#define INTEL_CFL_S_IDS(info) \
+	INTEL_VGA_DEVICE(0x3E90, info), /* SRV GT1 */ \
+	INTEL_VGA_DEVICE(0x3E92, info)  /* SRV GT2 */

you missed 0x3E93 and 0x3E91
with that in place feel free to include my rv-b

Quoted 4 lines
include/drm/i915_pciids.h +1 -0
+
 #define INTEL_KBL_GT4_IDS(info) \
 	INTEL_VGA_DEVICE(0x593B, info) /* Halo GT4 */
 

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx