[Intel-gfx] [PATCH] drm/i915/gem: Delay tracking the GEM context until it is registered

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 23 18:35:17 UTC 2020


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/

> incomplete pointers.


More information about the Intel-gfx mailing list