From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: <intel-gfx@lists.freedesktop.org>,
Bjorn Helgaas <bhelgaas@google.com>, <linux-pci@vger.kernel.org>
Subject: Re: [PATCH 2/8] drm/i915/pciids: add INTEL_ILK_IDS(), use acronym
Date: Fri, 10 May 2024 09:31:24 -0400 [thread overview]
Message-ID: <Zj4hrFPSsckxEA5D@intel.com> (raw)
In-Reply-To: <27ada56363cfa6a5b093cb31908a4b89aa912621.1715340032.git.jani.nikula@intel.com>
On Fri, May 10, 2024 at 02:22:15PM +0300, Jani Nikula wrote:
> Most other PCI ID macros use platform acronyms. Follow suit for ILK. Add
> INTEL_ILK_IDS() to identify all ILKs.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: linux-pci@vger.kernel.org
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
> arch/x86/kernel/early-quirks.c | 3 +--
> drivers/gpu/drm/i915/display/intel_display_device.c | 4 ++--
> drivers/gpu/drm/i915/i915_pci.c | 4 ++--
> include/drm/i915_pciids.h | 8 ++++++--
> 4 files changed, 11 insertions(+), 8 deletions(-)
>
> diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
> index f50394a00fca..d8419d310091 100644
> --- a/arch/x86/kernel/early-quirks.c
> +++ b/arch/x86/kernel/early-quirks.c
> @@ -533,8 +533,7 @@ static const struct pci_device_id intel_early_ids[] __initconst = {
> INTEL_I965GM_IDS(&gen3_early_ops),
> INTEL_GM45_IDS(&gen3_early_ops),
> INTEL_G45_IDS(&gen3_early_ops),
> - INTEL_IRONLAKE_D_IDS(&gen3_early_ops),
> - INTEL_IRONLAKE_M_IDS(&gen3_early_ops),
> + INTEL_ILK_IDS(&gen3_early_ops),
> INTEL_SNB_D_IDS(&gen6_early_ops),
> INTEL_SNB_M_IDS(&gen6_early_ops),
> INTEL_IVB_M_IDS(&gen6_early_ops),
> diff --git a/drivers/gpu/drm/i915/display/intel_display_device.c b/drivers/gpu/drm/i915/display/intel_display_device.c
> index 0e0f5a36507d..052fd1c290c3 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_device.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_device.c
> @@ -816,8 +816,8 @@ static const struct {
> INTEL_GM45_IDS(&gm45_display),
> INTEL_G45_IDS(&g45_display),
> INTEL_PNV_IDS(&pnv_display),
> - INTEL_IRONLAKE_D_IDS(&ilk_d_display),
> - INTEL_IRONLAKE_M_IDS(&ilk_m_display),
> + INTEL_ILK_D_IDS(&ilk_d_display),
> + INTEL_ILK_M_IDS(&ilk_m_display),
> INTEL_SNB_D_IDS(&snb_display),
> INTEL_SNB_M_IDS(&snb_display),
> INTEL_IVB_M_IDS(&ivb_display),
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index aa8593d73198..d85f023afebe 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -812,8 +812,8 @@ static const struct pci_device_id pciidlist[] = {
> INTEL_G45_IDS(&g45_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_ILK_D_IDS(&ilk_d_info),
> + INTEL_ILK_M_IDS(&ilk_m_info),
> INTEL_SNB_D_GT1_IDS(&snb_d_gt1_info),
> INTEL_SNB_D_GT2_IDS(&snb_d_gt2_info),
> INTEL_SNB_M_GT1_IDS(&snb_m_gt1_info),
> diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
> index 21942a3c823b..05f466ca8ce2 100644
> --- a/include/drm/i915_pciids.h
> +++ b/include/drm/i915_pciids.h
> @@ -118,12 +118,16 @@
> INTEL_PNV_G_IDS(info), \
> INTEL_PNV_M_IDS(info)
>
> -#define INTEL_IRONLAKE_D_IDS(info) \
> +#define INTEL_ILK_D_IDS(info) \
> INTEL_VGA_DEVICE(0x0042, info)
>
> -#define INTEL_IRONLAKE_M_IDS(info) \
> +#define INTEL_ILK_M_IDS(info) \
> INTEL_VGA_DEVICE(0x0046, info)
>
> +#define INTEL_ILK_IDS(info) \
> + INTEL_ILK_D_IDS(info), \
> + INTEL_ILK_M_IDS(info)
> +
> #define INTEL_SNB_D_GT1_IDS(info) \
> INTEL_VGA_DEVICE(0x0102, info), \
> INTEL_VGA_DEVICE(0x010A, info)
> --
> 2.39.2
>
next prev parent reply other threads:[~2024-05-10 13:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1715340032.git.jani.nikula@intel.com>
2024-05-10 11:22 ` [PATCH 1/8] drm/i915/pciids: add INTEL_PNV_IDS(), use acronym Jani Nikula
2024-05-10 13:31 ` Rodrigo Vivi
2024-05-10 11:22 ` [PATCH 2/8] drm/i915/pciids: add INTEL_ILK_IDS(), " Jani Nikula
2024-05-10 13:31 ` Rodrigo Vivi [this message]
2024-05-10 11:22 ` [PATCH 3/8] drm/i915/pciids: add INTEL_SNB_IDS() Jani Nikula
2024-05-10 13:31 ` Rodrigo Vivi
2024-05-10 11:22 ` [PATCH 4/8] drm/i915/pciids: add INTEL_IVB_IDS() Jani Nikula
2024-05-10 13:31 ` Rodrigo Vivi
2024-05-10 11:22 ` [PATCH 5/8] drm/i915/pciids: don't include WHL/CML PCI IDs in CFL Jani Nikula
2024-05-10 13:32 ` Rodrigo Vivi
2024-05-10 11:22 ` [PATCH 6/8] drm/i915/pciids: remove 11 from INTEL_ICL_IDS() Jani Nikula
2024-05-10 13:32 ` Rodrigo Vivi
2024-05-10 11:22 ` [PATCH 7/8] drm/i915/pciids: remove 12 from INTEL_TGL_IDS() Jani Nikula
2024-05-10 13:33 ` Rodrigo Vivi
2024-05-10 11:22 ` [PATCH 8/8] drm/i915/pciids: don't include RPL-U PCI IDs in RPL-P Jani Nikula
2024-05-10 13:55 ` [PATCH 0/8] drm/i915/pciids: PCI ID macro cleanups Jani Nikula
2024-05-15 14:25 ` Jani Nikula
2024-05-15 22:13 ` Dave Hansen
2024-05-16 8:20 ` Jani Nikula
2024-05-15 15:45 ` Bjorn Helgaas
2024-05-15 16:32 ` Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zj4hrFPSsckxEA5D@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=bhelgaas@google.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox