[PATCH 8/8] drm/xe: Split init of xe_gt_init_hwconfig to xe_gt_init and *_early
Maarten Lankhorst
dev at lankhorst.se
Thu Mar 13 09:19:58 UTC 2025
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.
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