[Intel-gfx] [PATCH 03/11] drm/i915/uc: introduce intel_uc_fw_supported
Michal Wajdeczko
michal.wajdeczko at intel.com
Sat Jul 13 17:43:37 UTC 2019
On Sat, 13 Jul 2019 19:06:40 +0200, Chris Wilson
<chris at chris-wilson.co.uk> wrote:
> Quoting Daniele Ceraolo Spurio (2019-07-13 17:51:02)
>>
>>
>> On 7/13/2019 3:19 AM, Chris Wilson wrote:
>> > 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
>>
>> We had discussed a couple of possible different approaches with Michal
>> on the other thread, including a better state machine that unifies the
>> fetch/load cases, I just didn't have time to try them yet. Since the
>> series is fully reviewed, if you want to get it in while it still
>> applies I will follow up with that rework on top.
>
> Aye, more than happy with incremental improvements :)
Good to know, as few other improvements are waiting ;)
Michal
More information about the Intel-gfx
mailing list