All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Jani Nikula <jani.nikula@intel.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org
Cc: "Daniel Vetter" <daniel@ffwll.ch>,
	"Dave Airlie" <airlied@gmail.com>,
	"Lucas De Marchi" <lucas.demarchi@intel.com>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Hans de Goede" <hdegoede@redhat.com>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: [PATCH v2] drm: move i915_drm.h under include/drm/intel
Date: Wed, 10 Apr 2024 13:26:15 +0300	[thread overview]
Message-ID: <20240410102615.16506-1-jani.nikula@intel.com> (raw)
In-Reply-To: <63e199dec91cc2e717d81ab00e28f68b9bec8461.1712743191.git.jani.nikula@intel.com>

Clean up the top level include/drm directory by grouping all the Intel
specific files under a common subdirectory.

v2: Also fix comment in intel_pci_config.h (Ilpo)

Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Dave Airlie <airlied@gmail.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 arch/x86/kernel/early-quirks.c             | 2 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c       | 2 +-
 drivers/gpu/drm/i915/gt/intel_rps.c        | 2 +-
 drivers/gpu/drm/i915/intel_pci_config.h    | 2 +-
 drivers/gpu/drm/i915/soc/intel_gmch.c      | 2 +-
 drivers/gpu/drm/xe/xe_ggtt.c               | 2 +-
 drivers/platform/x86/intel_ips.c           | 2 +-
 include/drm/{ => intel}/i915_drm.h         | 0
 9 files changed, 8 insertions(+), 8 deletions(-)
 rename include/drm/{ => intel}/i915_drm.h (100%)

diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index 59f4aefc6bc1..5b867c02d2b5 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -17,7 +17,7 @@
 #include <linux/bcma/bcma.h>
 #include <linux/bcma/bcma_regs.h>
 #include <linux/platform_data/x86/apple.h>
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
 #include <drm/i915_pciids.h>
 #include <asm/pci-direct.h>
 #include <asm/dma.h>
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_stolen.c b/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
index ad6dd7f3259b..30595b2b63e1 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
@@ -8,7 +8,7 @@
 #include <linux/mutex.h>
 
 #include <drm/drm_mm.h>
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
 
 #include "gem/i915_gem_lmem.h"
 #include "gem/i915_gem_region.h"
diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt.c b/drivers/gpu/drm/i915/gt/intel_ggtt.c
index 2717699c6591..206a5e0fedf1 100644
--- a/drivers/gpu/drm/i915/gt/intel_ggtt.c
+++ b/drivers/gpu/drm/i915/gt/intel_ggtt.c
@@ -9,7 +9,7 @@
 #include <linux/stop_machine.h>
 
 #include <drm/drm_managed.h>
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
 #include <drm/intel/intel-gtt.h>
 
 #include "display/intel_display.h"
diff --git a/drivers/gpu/drm/i915/gt/intel_rps.c b/drivers/gpu/drm/i915/gt/intel_rps.c
index c9cb2a391942..70176be269d3 100644
--- a/drivers/gpu/drm/i915/gt/intel_rps.c
+++ b/drivers/gpu/drm/i915/gt/intel_rps.c
@@ -5,7 +5,7 @@
 
 #include <linux/string_helpers.h>
 
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
 
 #include "display/intel_display.h"
 #include "display/intel_display_irq.h"
diff --git a/drivers/gpu/drm/i915/intel_pci_config.h b/drivers/gpu/drm/i915/intel_pci_config.h
index 23b8e519f333..ebe040828e20 100644
--- a/drivers/gpu/drm/i915/intel_pci_config.h
+++ b/drivers/gpu/drm/i915/intel_pci_config.h
@@ -31,7 +31,7 @@ static inline int intel_mmio_bar(int graphics_ver)
 	}
 }
 
-/* BSM in include/drm/i915_drm.h */
+/* BSM in include/drm/intel/i915_drm.h */
 
 #define MCHBAR_I915				0x44
 #define MCHBAR_I965				0x48
diff --git a/drivers/gpu/drm/i915/soc/intel_gmch.c b/drivers/gpu/drm/i915/soc/intel_gmch.c
index 40874ebfb64c..734e9f2801ea 100644
--- a/drivers/gpu/drm/i915/soc/intel_gmch.c
+++ b/drivers/gpu/drm/i915/soc/intel_gmch.c
@@ -8,7 +8,7 @@
 #include <linux/vgaarb.h>
 
 #include <drm/drm_managed.h>
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
 
 #include "i915_drv.h"
 #include "intel_gmch.h"
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index ff2239c0eda5..7af1a48f3b59 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -9,7 +9,7 @@
 #include <linux/sizes.h>
 
 #include <drm/drm_managed.h>
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
 
 #include "regs/xe_gt_regs.h"
 #include "regs/xe_gtt_defs.h"
diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c
index ba38649cc142..2a88012958eb 100644
--- a/drivers/platform/x86/intel_ips.c
+++ b/drivers/platform/x86/intel_ips.c
@@ -59,7 +59,7 @@
 #include <linux/tick.h>
 #include <linux/timer.h>
 #include <linux/dmi.h>
-#include <drm/i915_drm.h>
+#include <drm/intel/i915_drm.h>
 #include <asm/msr.h>
 #include <asm/processor.h>
 #include "intel_ips.h"
diff --git a/include/drm/i915_drm.h b/include/drm/intel/i915_drm.h
similarity index 100%
rename from include/drm/i915_drm.h
rename to include/drm/intel/i915_drm.h
-- 
2.39.2


  parent reply	other threads:[~2024-04-10 10:26 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-10 10:05 [PATCH 00/10] drm: move Intel drm headers to a subdirectory Jani Nikula
2024-04-10 10:05 ` [PATCH 01/10] drm/i915: use system include for drm headers Jani Nikula
2024-04-10 14:06   ` Andi Shyti
2024-04-10 10:05 ` [PATCH 02/10] drm: move intel-gtt.h under include/drm/intel Jani Nikula
2024-04-10 14:15   ` Andi Shyti
2024-04-10 10:05 ` [PATCH 03/10] drm: move i915_gsc_proxy_mei_interface.h " Jani Nikula
2024-04-11 14:11   ` Andi Shyti
2024-04-10 10:05 ` [PATCH 04/10] drm: move i915_component.h " Jani Nikula
2024-04-11 14:14   ` Andi Shyti
2024-04-11 15:34   ` [PATCH v2] " Jani Nikula
2024-04-10 10:05 ` [PATCH 05/10] drm: move intel_lpe_audio.h " Jani Nikula
2024-04-11 14:19   ` Andi Shyti
2024-04-11 15:25     ` Jani Nikula
2024-04-10 10:05 ` [PATCH 06/10] drm: move i915_drm.h " Jani Nikula
2024-04-10 10:19   ` Ilpo Järvinen
2024-04-10 10:23     ` Jani Nikula
2024-04-10 10:26   ` Jani Nikula [this message]
2024-04-11 14:21     ` [PATCH v2] " Andi Shyti
2024-04-11 15:33       ` Jani Nikula
2024-04-10 10:05 ` [PATCH 07/10] drm: move i915_pxp_tee_interface.h " Jani Nikula
2024-04-10 10:05 ` [PATCH 08/10] drm: move i915_pciids.h " Jani Nikula
2024-04-10 10:05 ` [PATCH 09/10] drm: move xe_pciids.h " Jani Nikula
2024-04-10 10:05 ` [PATCH 10/10] drm: move i915_hdcp_interface.h " Jani Nikula
2024-04-10 10:29 ` ✓ CI.Patch_applied: success for drm: move Intel drm headers to a subdirectory Patchwork
2024-04-10 10:29 ` ✗ CI.checkpatch: warning " Patchwork
2024-04-10 10:30 ` ✓ CI.KUnit: success " Patchwork
2024-04-10 10:39 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-04-10 10:39 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-04-10 10:42 ` ✓ CI.Build: success " Patchwork
2024-04-10 10:44 ` ✓ CI.Hooks: " Patchwork
2024-04-10 10:46 ` ✗ CI.checksparse: warning " Patchwork
2024-04-10 10:46 ` ✓ Fi.CI.BAT: success " Patchwork
2024-04-10 11:08 ` ✗ Fi.CI.CHECKPATCH: warning for drm: move Intel drm headers to a subdirectory (rev2) Patchwork
2024-04-10 11:08 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-04-10 11:09 ` ✓ CI.BAT: success for drm: move Intel drm headers to a subdirectory Patchwork
2024-04-10 11:14 ` ✓ Fi.CI.BAT: success for drm: move Intel drm headers to a subdirectory (rev2) Patchwork
2024-04-10 11:14 ` ✓ CI.Patch_applied: " Patchwork
2024-04-10 11:14 ` ✗ CI.checkpatch: warning " Patchwork
2024-04-10 11:15 ` ✓ CI.KUnit: success " Patchwork
2024-04-10 11:27 ` ✓ CI.Build: " Patchwork
2024-04-10 11:30 ` ✓ CI.Hooks: " Patchwork
2024-04-10 11:32 ` ✗ CI.checksparse: warning " Patchwork
2024-04-10 13:35 ` ✓ CI.Patch_applied: success " Patchwork
2024-04-10 13:36 ` ✗ CI.checkpatch: warning " Patchwork
2024-04-10 13:37 ` ✓ CI.KUnit: success " Patchwork
2024-04-10 13:48 ` ✓ CI.Build: " Patchwork
2024-04-10 13:51 ` ✓ CI.Hooks: " Patchwork
2024-04-10 13:53 ` ✗ CI.checksparse: warning " Patchwork
2024-04-10 14:01 ` ✗ CI.FULL: failure for drm: move Intel drm headers to a subdirectory Patchwork
2024-04-10 14:39 ` ✓ CI.BAT: success for drm: move Intel drm headers to a subdirectory (rev2) Patchwork
2024-04-10 18:31 ` ✗ CI.FULL: failure " Patchwork
2024-04-10 22:03 ` ✗ Fi.CI.IGT: " Patchwork
2024-04-10 22:25 ` [PATCH 00/10] drm: move Intel drm headers to a subdirectory Lucas De Marchi
2024-04-11 15:45 ` [PATCH 11/10] MAINTAINERS: update i915 and xe entries for include/drm/intel Jani Nikula
2024-04-11 18:00   ` Rodrigo Vivi
2024-04-11 18:09   ` Andi Shyti
2024-04-11 15:57 ` ✓ CI.Patch_applied: success for drm: move Intel drm headers to a subdirectory (rev3) Patchwork
2024-04-11 15:58 ` ✗ CI.checkpatch: warning " Patchwork
2024-04-11 16:00 ` ✓ CI.KUnit: success " Patchwork
2024-04-11 16:12 ` ✓ CI.Build: " Patchwork
2024-04-11 16:15 ` ✓ CI.Hooks: " Patchwork
2024-04-11 16:17 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-04-11 16:17 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-04-11 16:17 ` ✗ CI.checksparse: " Patchwork
2024-04-11 16:30 ` ✓ Fi.CI.BAT: success " Patchwork
2024-04-11 16:47 ` ✓ CI.BAT: " Patchwork
2024-04-11 22:03 ` ✗ CI.FULL: failure " Patchwork
2024-04-12  2:17 ` ✓ Fi.CI.IGT: success " Patchwork
2024-04-15 13:08 ` [PATCH 00/10] drm: move Intel drm headers to a subdirectory 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=20240410102615.16506-1-jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=airlied@gmail.com \
    --cc=bhelgaas@google.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --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.