All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: <intel-gfx@lists.freedesktop.org>,
	<intel-xe@lists.freedesktop.org>, <lucas.demarchi@intel.com>
Subject: Re: [PATCH 7/8] drm/intel/pciids: rename i915_pciids.h to just pciids.h
Date: Tue, 10 Sep 2024 14:52:51 -0400	[thread overview]
Message-ID: <ZuCVg4jEM34Sgaoa@intel.com> (raw)
In-Reply-To: <b963446627e513ff7240e53fa1acde693514ec70.1725297097.git.jani.nikula@intel.com>

On Mon, Sep 02, 2024 at 08:14:06PM +0300, Jani Nikula wrote:
> In preparation of sharing the PCI ID macros between i915 and xe, rename
> i915_pciids.h to pciids.h.
> 

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> 
> ---
> 
> Could be intel_pciids.h too, but it's already in include/drm/intel
> subdirectory.
> ---
>  arch/x86/kernel/early-quirks.c                      | 2 +-
>  drivers/gpu/drm/i915/display/intel_display_device.c | 2 +-
>  drivers/gpu/drm/i915/i915_pci.c                     | 2 +-
>  drivers/gpu/drm/i915/intel_device_info.c            | 2 +-
>  include/drm/intel/{i915_pciids.h => pciids.h}       | 6 +++---
>  5 files changed, 7 insertions(+), 7 deletions(-)
>  rename include/drm/intel/{i915_pciids.h => pciids.h} (99%)
> 
> diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
> index 29d1f9104e94..6b6f32f40cbe 100644
> --- a/arch/x86/kernel/early-quirks.c
> +++ b/arch/x86/kernel/early-quirks.c
> @@ -18,7 +18,7 @@
>  #include <linux/bcma/bcma_regs.h>
>  #include <linux/platform_data/x86/apple.h>
>  #include <drm/intel/i915_drm.h>
> -#include <drm/intel/i915_pciids.h>
> +#include <drm/intel/pciids.h>
>  #include <asm/pci-direct.h>
>  #include <asm/dma.h>
>  #include <asm/io_apic.h>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_device.c b/drivers/gpu/drm/i915/display/intel_display_device.c
> index 408c76852495..ef783648e4c3 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_device.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_device.c
> @@ -3,7 +3,7 @@
>   * Copyright © 2023 Intel Corporation
>   */
>  
> -#include <drm/intel/i915_pciids.h>
> +#include <drm/intel/pciids.h>
>  #include <drm/drm_color_mgmt.h>
>  #include <linux/pci.h>
>  
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index 617f411feb8c..4cfe339a805b 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -24,7 +24,7 @@
>  
>  #include <drm/drm_color_mgmt.h>
>  #include <drm/drm_drv.h>
> -#include <drm/intel/i915_pciids.h>
> +#include <drm/intel/pciids.h>
>  
>  #include "display/intel_display_driver.h"
>  #include "gt/intel_gt_regs.h"
> diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
> index 3c47c625993e..ff9500194d15 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.c
> +++ b/drivers/gpu/drm/i915/intel_device_info.c
> @@ -25,7 +25,7 @@
>  #include <linux/string_helpers.h>
>  
>  #include <drm/drm_print.h>
> -#include <drm/intel/i915_pciids.h>
> +#include <drm/intel/pciids.h>
>  
>  #include "gt/intel_gt_regs.h"
>  #include "i915_drv.h"
> diff --git a/include/drm/intel/i915_pciids.h b/include/drm/intel/pciids.h
> similarity index 99%
> rename from include/drm/intel/i915_pciids.h
> rename to include/drm/intel/pciids.h
> index 25ef0a17efbe..3c4ce82002a9 100644
> --- a/include/drm/intel/i915_pciids.h
> +++ b/include/drm/intel/pciids.h
> @@ -22,8 +22,8 @@
>   * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
>   * DEALINGS IN THE SOFTWARE.
>   */
> -#ifndef _I915_PCIIDS_H
> -#define _I915_PCIIDS_H
> +#ifndef __PCIIDS_H__
> +#define __PCIIDS_H__
>  
>  #ifdef __KERNEL__
>  #define INTEL_VGA_DEVICE(_id, _info) { \
> @@ -809,4 +809,4 @@
>  	MACRO__(0xE20D, ## __VA_ARGS__), \
>  	MACRO__(0xE212, ## __VA_ARGS__)
>  
> -#endif /* _I915_PCIIDS_H */
> +#endif /* __PCIIDS_H__ */
> -- 
> 2.39.2
> 

  reply	other threads:[~2024-09-10 18:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 17:13 [PATCH 0/8] drm/i915 & drm/xe: shared PCI ID macros Jani Nikula
2024-09-02 17:14 ` [PATCH 1/8] drm/i915/pciids: use designated initializers in INTEL_VGA_DEVICE() Jani Nikula
2024-09-02 17:14 ` [PATCH 2/8] drm/i915/pciids: separate ARL and MTL PCI IDs Jani Nikula
2024-09-02 17:14 ` [PATCH 3/8] drm/xe/pciids: add some missing ADL-N " Jani Nikula
2024-09-02 17:14 ` [PATCH 4/8] drm/xe/pciids: separate RPL-U and RPL-P " Jani Nikula
2024-09-02 17:14 ` [PATCH 5/8] drm/xe/pciids: separate ARL and MTL " Jani Nikula
2024-09-02 17:14 ` [PATCH 6/8] drm/i915/pciids: add PVC PCI ID macros Jani Nikula
2024-09-02 17:14 ` [PATCH 7/8] drm/intel/pciids: rename i915_pciids.h to just pciids.h Jani Nikula
2024-09-10 18:52   ` Rodrigo Vivi [this message]
2024-09-02 17:14 ` [PATCH 8/8] drm/xe: switch to common PCI ID macros Jani Nikula
2024-09-10 18:53   ` Rodrigo Vivi
2024-09-02 18:05 ` ✓ CI.Patch_applied: success for drm/i915 & drm/xe: shared " Patchwork
2024-09-02 18:06 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-02 18:07 ` ✓ CI.KUnit: success " Patchwork
2024-09-02 18:14 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-09-02 18:14 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-09-02 18:19 ` ✓ CI.Build: success " Patchwork
2024-09-02 18:21 ` ✓ CI.Hooks: " Patchwork
2024-09-02 18:22 ` ✗ CI.checksparse: warning " Patchwork
2024-09-02 18:33 ` ✓ Fi.CI.BAT: success " Patchwork
2024-09-02 18:59 ` ✓ CI.BAT: " Patchwork
2024-09-03  0:03 ` ✗ CI.FULL: failure " Patchwork
2024-09-03  2:41 ` [PATCH 0/8] " Lucas De Marchi
2024-09-03  7:32   ` Jani Nikula
2024-09-10 15:04     ` Lucas De Marchi
2024-09-03 20:39 ` ✓ Fi.CI.IGT: success for " Patchwork
2024-09-04  9:55 ` [PATCH 0/8] " 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=ZuCVg4jEM34Sgaoa@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=lucas.demarchi@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.