[Intel-gfx] [PATCH 06/11] drm/i915/uc: move GuC and HuC files under gt/uc/

Chris Wilson chris at chris-wilson.co.uk
Sat Jul 13 10:25:47 UTC 2019


Quoting Chris Wilson (2019-07-13 11:00:11)
> From: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> 
> Both microcontrollers are part of the GT HW and are closely related to
> GT operations. To keep all the files cleanly together, they've been
> placed in their own subdir inside the gt/ folder
> 
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Acked-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> ---
> diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
> index 5266dbeab01f..524516251a40 100644
> --- a/drivers/gpu/drm/i915/Makefile
> +++ b/drivers/gpu/drm/i915/Makefile
> @@ -139,16 +139,17 @@ i915-y += \
>           intel_wopcm.o
>  
>  # general-purpose microcontroller (GuC) support
> -i915-y += intel_uc.o \
> -         intel_uc_fw.o \
> -         intel_guc.o \
> -         intel_guc_ads.o \
> -         intel_guc_ct.o \
> -         intel_guc_fw.o \
> -         intel_guc_log.o \
> -         intel_guc_submission.o \
> -         intel_huc.o \
> -         intel_huc_fw.o
> +obj-y += gt/uc/
> +i915-y += gt/uc/intel_uc.o \
> +         gt/uc/intel_uc_fw.o \
> +         gt/uc/intel_guc.o \
> +         gt/uc/intel_guc_ads.o \
> +         gt/uc/intel_guc_ct.o \
> +         gt/uc/intel_guc_fw.o \
> +         gt/uc/intel_guc_log.o \
> +         gt/uc/intel_guc_submission.o \
> +         gt/uc/intel_huc.o \
> +         gt/uc/intel_huc_fw.o

Ok, more fodder to the need to actually use subdirs, although I think
that entails us to use submodules with regular EXPORT_SYMBOL. Not quite
ready for that yet.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list