[PATCH 8/8] drm/xe: Split init of xe_gt_init_hwconfig to xe_gt_init and *_early
Lucas De Marchi
lucas.demarchi at intel.com
Thu Mar 13 14:28:08 UTC 2025
On Thu, Mar 13, 2025 at 10:19:58AM +0100, Maarten Lankhorst wrote:
>Hey,
>
>On 2025-03-11 21:55, Lucas De Marchi wrote:
>> On Mon, Mar 10, 2025 at 09:06:53PM +0100, Maarten Lankhorst wrote:
>>> static void xe_gt_fini(void *arg)
>>> @@ -471,6 +451,18 @@ int xe_gt_init(struct xe_gt *gt)
>>> if (!fw_ref)
>>> return -ETIMEDOUT;
>>>
>>> + err = xe_uc_init(>->uc);
>>> + if (err)
>>> + goto err_force_wake;
>>> +
>>> + err = xe_uc_init_hwconfig(>->uc);
>>> + if (err)
>>> + goto err_force_wake;
>>
>> humn... why are these 2 variants not merged together then?
>>
>> at the end of this series I don't know what to expect. Is everything
>> here sufficient or is this part of what we need?
>That's a good question, makes sense to merge those 2 calls.
>
>I haven't done it yet was because I was trying to solve the issue of flickering. If it turns things
>break, then I want to ensure that we could undo the patches.
and does this series alone, without additional patches, fixes it?
Lucas De Marchi
>
>Wes hould simplify GuC initialisation too, but I wanted to wait with it in order to diagnose issues resulting from
>reworking the ordering flow first. This way it becomes easier to fix any regressions, for both should they pop up.
>
>Cheers,
>~maarten
More information about the Intel-xe
mailing list