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

Message ID 1496965267-21725-2-git-send-email-anusha.srivatsa@intel.com
State New
Headers show

Commit Message

Srivatsa, Anusha June 8, 2017, 11:41 p.m. UTC
Add PCI Ids for H Sku by following the BSpec.

v2: Remove unused INTEL_CFL_IDS.(Rodrigo).
v3: Add missing IDs(Rodrigo)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
---
 drivers/gpu/drm/i915/i915_pci.c | 1 +
 include/drm/i915_pciids.h       | 5 +++++
 2 files changed, 6 insertions(+)

Comments

Rodrigo Vivi June 8, 2017, 11:50 p.m. UTC | #1
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>


On Thu, 2017-06-08 at 16:41 -0700, Anusha Srivatsa wrote:
> Add PCI Ids for H Sku by following the BSpec.

> 

> v2: Remove unused INTEL_CFL_IDS.(Rodrigo).

> v3: Add missing IDs(Rodrigo)

> 

> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>

> Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>

> ---

>  drivers/gpu/drm/i915/i915_pci.c | 1 +

>  include/drm/i915_pciids.h       | 5 +++++

>  2 files changed, 6 insertions(+)

> 

> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c

> index 544b3a5..6aa8cbe 100644

> --- a/drivers/gpu/drm/i915/i915_pci.c

> +++ b/drivers/gpu/drm/i915/i915_pci.c

> @@ -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_CFL_S_IDS(&intel_coffeelake_info),

> +	INTEL_CFL_H_IDS(&intel_coffeelake_info),

>  	INTEL_CNL_IDS(&intel_cannonlake_info),

>  	{0, 0, 0}

>  };

> diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h

> index 4858deb..8f25316 100644

> --- a/include/drm/i915_pciids.h

> +++ b/include/drm/i915_pciids.h

> @@ -342,6 +342,11 @@

>  	INTEL_VGA_DEVICE(0x3E92, info), /* SRV GT2 */ \

>  	INTEL_VGA_DEVICE(0x3E96, info)  /* SRV GT2 */

>  

> +/* CFL H */

> +#define INTEL_CFL_H_IDS(info) \

> +	INTEL_VGA_DEVICE(0x3E9B, info), /* Halo GT2 */ \

> +	INTEL_VGA_DEVICE(0x3E94, info)  /* Halo GT2 */

> +

>  /* CNL U 2+2 */

>  #define INTEL_CNL_U_GT2_IDS(info) \

>  	INTEL_VGA_DEVICE(0x5A52, info), \

Patch
diff mbox

diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 544b3a5..6aa8cbe 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -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_CFL_S_IDS(&intel_coffeelake_info),
+	INTEL_CFL_H_IDS(&intel_coffeelake_info),
 	INTEL_CNL_IDS(&intel_cannonlake_info),
 	{0, 0, 0}
 };
diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
index 4858deb..8f25316 100644
--- a/include/drm/i915_pciids.h
+++ b/include/drm/i915_pciids.h
@@ -342,6 +342,11 @@ 
 	INTEL_VGA_DEVICE(0x3E92, info), /* SRV GT2 */ \
 	INTEL_VGA_DEVICE(0x3E96, info)  /* SRV GT2 */
 
+/* CFL H */
+#define INTEL_CFL_H_IDS(info) \
+	INTEL_VGA_DEVICE(0x3E9B, info), /* Halo GT2 */ \
+	INTEL_VGA_DEVICE(0x3E94, info)  /* Halo GT2 */
+
 /* CNL U 2+2 */
 #define INTEL_CNL_U_GT2_IDS(info) \
 	INTEL_VGA_DEVICE(0x5A52, info), \