mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 22:22:08 +02:00
drm/xe: drop display/ subdir from include directories
There are very few places that need to include anything from under display/. Require the display/ prefix in #include directives, and drop the subdirectory from the header search path. Sort the include lists while at it. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240122101428.2683468-2-jani.nikula@intel.com
This commit is contained in:
parent
f01ece502a
commit
1e5a4dfe38
|
|
@ -165,7 +165,6 @@ xe-$(CONFIG_DRM_XE_KUNIT_TEST) += \
|
|||
subdir-ccflags-$(CONFIG_DRM_XE_DISPLAY) += \
|
||||
-I$(srctree)/$(src)/display/ext \
|
||||
-I$(srctree)/$(src)/compat-i915-headers \
|
||||
-I$(srctree)/drivers/gpu/drm/xe/display/ \
|
||||
-I$(srctree)/drivers/gpu/drm/i915/display/ \
|
||||
-Ddrm_i915_gem_object=xe_bo \
|
||||
-Ddrm_i915_private=xe_device
|
||||
|
|
|
|||
|
|
@ -15,20 +15,21 @@
|
|||
#include <drm/drm_print.h>
|
||||
#include <drm/xe_drm.h>
|
||||
|
||||
#include "display/xe_display.h"
|
||||
#include "regs/xe_gt_regs.h"
|
||||
#include "regs/xe_regs.h"
|
||||
#include "xe_bo.h"
|
||||
#include "xe_debugfs.h"
|
||||
#include "xe_display.h"
|
||||
#include "xe_dma_buf.h"
|
||||
#include "xe_drm_client.h"
|
||||
#include "xe_drv.h"
|
||||
#include "xe_exec_queue.h"
|
||||
#include "xe_exec.h"
|
||||
#include "xe_exec_queue.h"
|
||||
#include "xe_ggtt.h"
|
||||
#include "xe_gsc_proxy.h"
|
||||
#include "xe_gt.h"
|
||||
#include "xe_gt_mcr.h"
|
||||
#include "xe_hwmon.h"
|
||||
#include "xe_irq.h"
|
||||
#include "xe_memirq.h"
|
||||
#include "xe_mmio.h"
|
||||
|
|
@ -43,7 +44,6 @@
|
|||
#include "xe_ttm_sys_mgr.h"
|
||||
#include "xe_vm.h"
|
||||
#include "xe_wait_user_fence.h"
|
||||
#include "xe_hwmon.h"
|
||||
|
||||
#ifdef CONFIG_LOCKDEP
|
||||
struct lockdep_map xe_device_mem_access_lockdep_map = {
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
#include <drm/drm_managed.h>
|
||||
|
||||
#include "display/xe_display.h"
|
||||
#include "regs/xe_gt_regs.h"
|
||||
#include "regs/xe_regs.h"
|
||||
#include "xe_device.h"
|
||||
#include "xe_display.h"
|
||||
#include "xe_drv.h"
|
||||
#include "xe_gsc_proxy.h"
|
||||
#include "xe_gt.h"
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@
|
|||
#include <drm/drm_drv.h>
|
||||
#include <drm/xe_pciids.h>
|
||||
|
||||
#include "display/xe_display.h"
|
||||
#include "regs/xe_gt_regs.h"
|
||||
#include "xe_device.h"
|
||||
#include "xe_display.h"
|
||||
#include "xe_drv.h"
|
||||
#include "xe_gt.h"
|
||||
#include "xe_macros.h"
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@
|
|||
#include <drm/drm_managed.h>
|
||||
#include <drm/ttm/ttm_placement.h>
|
||||
|
||||
#include "display/xe_display.h"
|
||||
#include "xe_bo.h"
|
||||
#include "xe_bo_evict.h"
|
||||
#include "xe_device.h"
|
||||
#include "xe_device_sysfs.h"
|
||||
#include "xe_display.h"
|
||||
#include "xe_ggtt.h"
|
||||
#include "xe_gt.h"
|
||||
#include "xe_guc.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user