[Intel-gfx] [PATCH v3] drm/i915/guc: Stop using mutex while sending CTB messages
Michal Wajdeczko
michal.wajdeczko at intel.com
Mon Feb 3 10:09:30 UTC 2020
On Mon, 03 Feb 2020 10:58:08 +0100, Chris Wilson
<chris at chris-wilson.co.uk> wrote:
> Quoting Michal Wajdeczko (2020-02-03 09:54:13)
>> void intel_guc_ct_init_early(struct intel_guc_ct *ct)
>> {
>> + int i;
>> +
>> spin_lock_init(&ct->requests.lock);
>> INIT_LIST_HEAD(&ct->requests.pending);
>> INIT_LIST_HEAD(&ct->requests.incoming);
>> INIT_WORK(&ct->requests.worker,
>> ct_incoming_request_worker_func);
>> + for (i = 0; i < ARRAY_SIZE(ct->ctbs); i++) {
>> + spin_lock_init(&ct->ctbs[i].lock);
>> +
>> lockdep_set_subclass_and_mark_as_used(&ct->ctbs[i].lock, i);
>
> Trybot warned of another issue...
Hmm, trybot mislead me by reporting only one other false-positive
and I failed to check 'details' on my own, thanks for help!
More information about the Intel-gfx
mailing list