[Intel-gfx] [PATCH 03/11] drm/i915/uc: introduce intel_uc_fw_supported

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


Quoting Chris Wilson (2019-07-13 11:00:08)
> From: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> 
> Instead of always checking in the device config is GuC and HuC are
> supported or not, we can save the state in the uc_fw structure and
> avoid going through i915 every time from the low-level uc management
> code. while at it FIRMWARE_NONE has been renamed to better indicate that
> we haven't started the fetch/load yet, but we might have already selected
> a blob.
> 
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>

Ok, but I'm not quite getting the feeling of a nice flow through a state
machine.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list