[Intel-gfx] [PATCH] drm/i915/gem: Delay tracking the GEM context until it is registered
Mika Kuoppala
mika.kuoppala at linux.intel.com
Fri Jul 24 11:55:39 UTC 2020
Chris Wilson <chris at chris-wilson.co.uk> writes:
> Quoting Chris Wilson (2020-07-23 19:33:48)
>> Avoid exposing a partially constructed context by deferring the
>> list_add() from the initial construction to the end of registration.
>> Otherwise, if we peek into the list of contexts from inside debugfs, we
>> may see the partially constructed context and change down some dangling
>
> s/change/chase/
that.
Are you sure about the fixes as it is not the commit that
actually introduces the registration into context.list?
For me it looks like it is a4e7ccdac38e.
-Mika
>
>> incomplete pointers.
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
More information about the Intel-gfx
mailing list