On 02.07.2021 10:13, Martin Peres wrote:
> On 01/07/2021 21:24, Martin Peres wrote:
> [...]
>>>
>>>>
>>>>> + i915->params.enable_guc = ENABLE_GUC_LOAD_HUC;
>>>>> + return;
>>>>> + }
>>>>> +
>>>>> + /* Default: enable HuC authentication and GuC submission */
>>>>> + i915->params.enable_guc = ENABLE_GUC_LOAD_HUC |
>>>>> ENABLE_GUC_SUBMISSION;
>>>>
>>>> This seems to be in contradiction with the GuC submission plan which
>>>> states:
>>>>
>>>> "Not enabled by default on any current platforms but can be enabled via
>>>> modparam enable_guc".
>>>>
>>>
>>> I don't believe any current platform gets this point where GuC
>>> submission would be enabled by default. The first would be ADL-P which
>>> isn't out yet.
>>
>> Isn't that exactly what the line above does?
>
> In case you missed this crucial part of the review. Please answer the
> above question.
I guess there is some misunderstanding here, and I must admit I had
similar doubt, but if you look beyond patch diff and check function code
you will find that the very condition is:
/* Don't enable GuC/HuC on pre-Gen12 */
if (GRAPHICS_VER(i915) < 12) {
i915->params.enable_guc = 0;
return;
}
so all pre-Gen12 platforms will continue to have GuC/HuC disabled.
Thanks,
Michal
- [PATCH 29/47] drm/i915/guc: Disable bonding extension wit... Matthew Brost
- [PATCH 45/47] drm/i915/guc: Include scheduling policies i... Matthew Brost
- Re: [PATCH 45/47] drm/i915/guc: Include scheduling p... Matthew Brost
- [PATCH 38/47] drm/i915/guc: Provide mmio list to be saved... Matthew Brost
- [PATCH 34/47] drm/i915/guc: Suspend/resume implementation... Matthew Brost
- [PATCH 47/47] drm/i915/guc: Unblock GuC submission on Gen... Matthew Brost
- Re: [PATCH 47/47] drm/i915/guc: Unblock GuC submissi... Martin Peres
- Re: [PATCH 47/47] drm/i915/guc: Unblock GuC subm... Matthew Brost
- Re: [PATCH 47/47] drm/i915/guc: Unblock GuC ... Martin Peres
- Re: [PATCH 47/47] drm/i915/guc: Unblock ... Martin Peres
- Re: [PATCH 47/47] drm/i915/guc: Unb... Michal Wajdeczko
- Re: [PATCH 47/47] drm/i915/guc:... Martin Peres
- Re: [PATCH 47/47] drm/i915/guc:... Michal Wajdeczko
- Re: [PATCH 47/47] drm/i915/guc: Unblock GuC subm... John Harrison
- Re: [PATCH 47/47] drm/i915/guc: Unblock GuC ... Pekka Paalanen
- Re: [PATCH 47/47] drm/i915/guc: Unblock ... Martin Peres
- Re: [Intel-gfx] [PATCH 47/47] drm/i... Daniel Vetter
- Re: [Intel-gfx] [PATCH 47/47] d... Pekka Paalanen
- Re: [Intel-gfx] [PATCH 47/47] d... Martin Peres
- Re: [Intel-gfx] [PATCH 47/47] d... Michal Wajdeczko
- Re: [Intel-gfx] [PATCH 47/47] d... Martin Peres
