Re: [PATCH] drm/sched: Always trace the dependencies we wait on, to fix a race.

From: Eric Anholt
Date: Thu Feb 07 2019 - 18:10:39 EST


"Koenig, Christian" <Christian.Koenig@xxxxxxx> writes:

> Am 07.12.18 um 20:16 schrieb Eric Anholt:
>> The entity->dependency can go away completely once we've called
>> drm_sched_entity_add_dependency_cb() (if the cb is called before we
>> get around to tracing). The tracepoint is more useful if we trace
>> every dependency instead of just ones that get callbacks installed,
>> anyway, so just do that.
>>
>> Fixes any easy-to-produce OOPS when tracing the scheduler on V3D with
>> "perf record -a -e gpu_scheduler:.\* glxgears" and DEBUG_SLAB enabled.
>>
>> Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>
>
> Reviewed-by: Christian KÃnig <christian.koenig@xxxxxxx>
>
> Going to pick that up for upstream and will add with a CC: stable.

Looks like this got misplaced.

Attachment: signature.asc
Description: PGP signature