[Intel-gfx] [PATCH 1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.
Rodrigo Vivi
rodrigo.vivi at gmail.com
Fri Jun 2 20:51:49 UTC 2017
ops, actually I take the rv-b back, sorry....
On Fri, Jun 2, 2017 at 10:31 AM, Anusha Srivatsa
<anusha.srivatsa at intel.com> wrote:
> Add PCI Ids for U Skus of Coffeelake.
>
> 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 | 10 ++++++++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index 31ea988..4d25193 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -477,6 +477,7 @@ static const struct pci_device_id pciidlist[] = {
> INTEL_KBL_GT2_IDS(&intel_kabylake_info),
> INTEL_KBL_GT3_IDS(&intel_kabylake_gt3_info),
> INTEL_KBL_GT4_IDS(&intel_kabylake_gt3_info),
> + INTEL_CFL_U_IDS(&intel_coffeelake_info),
it should be better with INTEL_CFL_IDS(info) here
> {0, 0, 0}
> };
> MODULE_DEVICE_TABLE(pci, pciidlist);
> diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
> index 27e0dba..132dd04 100644
> --- a/include/drm/i915_pciids.h
> +++ b/include/drm/i915_pciids.h
> @@ -334,4 +334,14 @@
> INTEL_KBL_GT3_IDS(info), \
> INTEL_KBL_GT4_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 */
> +
> +
> +#define INTEL_CFL_IDS(info) \
> + INTEL_CFL_U_IDS(info)
if not used better not to define ;)
but I prefer using it up there...
> +
> #endif /* _I915_PCIIDS_H */
> --
> 2.7.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
More information about the Intel-gfx
mailing list