mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 09:33:31 +02:00
drm/i915/pciids: add INTEL_PNV_IDS(), use acronym
Most other PCI ID macros use platform acronyms. Follow suit for PNV. Add INTEL_PNV_IDS() to identify all PNVs. Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: linux-pci@vger.kernel.org Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patchwork.freedesktop.org/patch/msgid/5f9b34a2cd388244be03263a5147776bfe64d5ac.1715340032.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
19be15dcc0
commit
432ed92bfb
|
|
@ -527,8 +527,7 @@ static const struct pci_device_id intel_early_ids[] __initconst = {
|
|||
INTEL_I945G_IDS(&gen3_early_ops),
|
||||
INTEL_I945GM_IDS(&gen3_early_ops),
|
||||
INTEL_VLV_IDS(&gen6_early_ops),
|
||||
INTEL_PINEVIEW_G_IDS(&gen3_early_ops),
|
||||
INTEL_PINEVIEW_M_IDS(&gen3_early_ops),
|
||||
INTEL_PNV_IDS(&gen3_early_ops),
|
||||
INTEL_I965G_IDS(&gen3_early_ops),
|
||||
INTEL_G33_IDS(&gen3_early_ops),
|
||||
INTEL_I965GM_IDS(&gen3_early_ops),
|
||||
|
|
|
|||
|
|
@ -815,8 +815,7 @@ static const struct {
|
|||
INTEL_I965GM_IDS(&i965gm_display),
|
||||
INTEL_GM45_IDS(&gm45_display),
|
||||
INTEL_G45_IDS(&g45_display),
|
||||
INTEL_PINEVIEW_G_IDS(&pnv_display),
|
||||
INTEL_PINEVIEW_M_IDS(&pnv_display),
|
||||
INTEL_PNV_IDS(&pnv_display),
|
||||
INTEL_IRONLAKE_D_IDS(&ilk_d_display),
|
||||
INTEL_IRONLAKE_M_IDS(&ilk_m_display),
|
||||
INTEL_SNB_D_IDS(&snb_display),
|
||||
|
|
|
|||
|
|
@ -810,8 +810,8 @@ static const struct pci_device_id pciidlist[] = {
|
|||
INTEL_I965GM_IDS(&i965gm_info),
|
||||
INTEL_GM45_IDS(&gm45_info),
|
||||
INTEL_G45_IDS(&g45_info),
|
||||
INTEL_PINEVIEW_G_IDS(&pnv_g_info),
|
||||
INTEL_PINEVIEW_M_IDS(&pnv_m_info),
|
||||
INTEL_PNV_G_IDS(&pnv_g_info),
|
||||
INTEL_PNV_M_IDS(&pnv_m_info),
|
||||
INTEL_IRONLAKE_D_IDS(&ilk_d_info),
|
||||
INTEL_IRONLAKE_M_IDS(&ilk_m_info),
|
||||
INTEL_SNB_D_GT1_IDS(&snb_d_gt1_info),
|
||||
|
|
|
|||
|
|
@ -108,12 +108,16 @@
|
|||
INTEL_VGA_DEVICE(0x2e42, info), /* B43_G */ \
|
||||
INTEL_VGA_DEVICE(0x2e92, info) /* B43_G.1 */
|
||||
|
||||
#define INTEL_PINEVIEW_G_IDS(info) \
|
||||
#define INTEL_PNV_G_IDS(info) \
|
||||
INTEL_VGA_DEVICE(0xa001, info)
|
||||
|
||||
#define INTEL_PINEVIEW_M_IDS(info) \
|
||||
#define INTEL_PNV_M_IDS(info) \
|
||||
INTEL_VGA_DEVICE(0xa011, info)
|
||||
|
||||
#define INTEL_PNV_IDS(info) \
|
||||
INTEL_PNV_G_IDS(info), \
|
||||
INTEL_PNV_M_IDS(info)
|
||||
|
||||
#define INTEL_IRONLAKE_D_IDS(info) \
|
||||
INTEL_VGA_DEVICE(0x0042, info)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user