[PATCH 1/2] drm/xe: move xe_display.[ch] under display/

Rodrigo Vivi rodrigo.vivi at intel.com
Mon Jan 22 16:59:02 UTC 2024


On Mon, Jan 22, 2024 at 12:14:27PM +0200, Jani Nikula wrote:
> All the other display related files are under display/ subdirectory,
> also move xe_display.[ch] there.
> 
> Sort the build list while at it.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

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

> ---
>  drivers/gpu/drm/xe/Makefile                   | 18 +++++++++---------
>  drivers/gpu/drm/xe/{ => display}/xe_display.c |  0
>  drivers/gpu/drm/xe/{ => display}/xe_display.h |  0
>  3 files changed, 9 insertions(+), 9 deletions(-)
>  rename drivers/gpu/drm/xe/{ => display}/xe_display.c (100%)
>  rename drivers/gpu/drm/xe/{ => display}/xe_display.h (100%)
> 
> diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
> index fe8b266a9819..e06f99def559 100644
> --- a/drivers/gpu/drm/xe/Makefile
> +++ b/drivers/gpu/drm/xe/Makefile
> @@ -185,17 +185,17 @@ $(obj)/i915-display/%.o: $(srctree)/drivers/gpu/drm/i915/display/%.c FORCE
>  
>  # Display code specific to xe
>  xe-$(CONFIG_DRM_XE_DISPLAY) += \
> -	xe_display.o \
> -	display/xe_fb_pin.o \
> -	display/xe_hdcp_gsc.o \
> -	display/xe_plane_initial.o \
> -	display/xe_display_rps.o \
> +	display/ext/i915_irq.o \
> +	display/ext/i915_utils.o \
> +	display/intel_fb_bo.o \
> +	display/intel_fbdev_fb.o \
> +	display/xe_display.o \
>  	display/xe_display_misc.o \
> +	display/xe_display_rps.o \
>  	display/xe_dsb_buffer.o \
> -	display/intel_fbdev_fb.o \
> -	display/intel_fb_bo.o \
> -	display/ext/i915_irq.o \
> -	display/ext/i915_utils.o
> +	display/xe_fb_pin.o \
> +	display/xe_hdcp_gsc.o \
> +	display/xe_plane_initial.o
>  
>  # SOC code shared with i915
>  xe-$(CONFIG_DRM_XE_DISPLAY) += \
> diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
> similarity index 100%
> rename from drivers/gpu/drm/xe/xe_display.c
> rename to drivers/gpu/drm/xe/display/xe_display.c
> diff --git a/drivers/gpu/drm/xe/xe_display.h b/drivers/gpu/drm/xe/display/xe_display.h
> similarity index 100%
> rename from drivers/gpu/drm/xe/xe_display.h
> rename to drivers/gpu/drm/xe/display/xe_display.h
> -- 
> 2.39.2
> 


More information about the Intel-xe mailing list