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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-06-06 at 15:08 -0700, Anusha Srivatsa wrote:
> Add PCI Ids for H Sku by following the BSpec.
> 
> Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
> Signed-off-by: Anusha Srivatsa <anusha.srivatsa@xxxxxxxxx>
> ---
>  drivers/gpu/drm/i915/i915_pci.c | 1 +
>  include/drm/i915_pciids.h       | 6 +++++-
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index 13eb415..b9b33b4 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -484,6 +484,7 @@ static const struct pci_device_id pciidlist[] = {
>  	INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
>  	INTEL_CFL_U_IDS(&intel_coffeelake_gt3_info),
>  	INTEL_CFL_S_IDS(&intel_coffeelake_info),
> +	INTEL_CFL_H_IDS(&intel_coffeelake_info),
>  	{0, 0, 0}
>  };
>  MODULE_DEVICE_TABLE(pci, pciidlist);
> diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
> index 33dd853..0869771 100644
> --- a/include/drm/i915_pciids.h
> +++ b/include/drm/i915_pciids.h
> @@ -344,8 +344,12 @@
>  	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_CFL_IDS(info) \
>  	INTEL_CFL_U_IDS(info), \
> -	INTEL_CFL_S_IDS(info)
> +	INTEL_CFL_S_IDS(info), \
> +	INTEL_CFL_H_IDS(info)

Since we are not using this INTEL_CFL_IDS for anything anymore I believe
we should avoid adding it at first place....

>  
>  #endif /* _I915_PCIIDS_H */

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux