On Thu, Jul 2, 2020 at 1:55 AM Lucas De Marchi <lucas.demarchi@xxxxxxxxx> wrote: > > From: Abdiel Janulgue <abdiel.janulgue@xxxxxxxxxxxxxxx> > > Add the PCI ID for DG1, but keep it out of the table we use to register > the driver. At this point we can't consider the driver ready to bind to > the device since we basically miss support for everything. When more > support is merged we can enable it to work partially for example as a > display-only driver. > > v2: remove DG1 from the pci table and reword commit message (Lucas) > > Bspec: 44463 > > Cc: Matthew Auld <matthew.auld@xxxxxxxxx> > Cc: James Ausmus <james.ausmus@xxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: Matt Roper <matthew.d.roper@xxxxxxxxx> > Signed-off-by: Abdiel Janulgue <abdiel.janulgue@xxxxxxxxxxxxxxx> > Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> > Reviewed-by: José Roberto de Souza <jose.souza@xxxxxxxxx> # v1 > --- > drivers/gpu/drm/i915/i915_pci.c | 2 +- > include/drm/i915_pciids.h | 4 ++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c > index 58cceeaa0ffa..8cae64adbb23 100644 > --- a/drivers/gpu/drm/i915/i915_pci.c > +++ b/drivers/gpu/drm/i915/i915_pci.c > @@ -900,7 +900,7 @@ static const struct intel_device_info rkl_info = { > .has_master_unit_irq = 1, \ > .is_dgfx = 1 > > -static const struct intel_device_info intel_dg1_info = { > +static const struct intel_device_info dg1_info = { Looks like a misplaced hunk here, but aside from that, on the "let's just not add the pci id": Acked-by: Daniel Vetter <daniel.vetter@xxxxxxxx> Also adding Dave just as fyi. -Daniel > GEN12_DGFX_FEATURES, > PLATFORM(INTEL_DG1), > .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C) | BIT(PIPE_D), > diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h > index bc989de2aac2..f44fe822880d 100644 > --- a/include/drm/i915_pciids.h > +++ b/include/drm/i915_pciids.h > @@ -614,4 +614,8 @@ > INTEL_VGA_DEVICE(0x4C90, info), \ > INTEL_VGA_DEVICE(0x4C9A, info) > > +/* DG1 */ > +#define INTEL_DG1_IDS(info) \ > + INTEL_VGA_DEVICE(0x4905, info) > + > #endif /* _I915_PCIIDS_H */ > -- > 2.26.2 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx