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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Chris Wilson (2019-07-13 11:00:11)
> From: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx>
> 
> 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@xxxxxxxxx>
> Cc: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx>
> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Acked-by: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxxxxx>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux