[Intel-gfx] [PATCH 3/3] drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.
Vivi, Rodrigo
rodrigo.vivi at intel.com
Tue Jun 6 22:31:52 UTC 2017
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 at intel.com>
> Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
> ---
> 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 */
More information about the Intel-gfx
mailing list