[Intel-gfx] [PATCH 1/3] drm/i915/uc: Sanitize uC options early

Chris Wilson chris at chris-wilson.co.uk
Thu Mar 8 21:08:47 UTC 2018


Quoting Michal Wajdeczko (2018-03-08 21:00:34)
> We are sanitizing uC related modparams together with other driver
> modparams in intel_sanitize_options called from i915_driver_init_hw,
> but this is too late for us as we will want to use USES_GUC/USES_HUC
> macros at earlier stage. Since our sanitizing does not require any
> MMIO access, we can do it in intel_uc_init_early right after we resolve
> firmware names.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Sagar Arun Kamble <sagar.a.kamble at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list