]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Initialise the obj->rcu head
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Nov 2018 09:03:11 +0000 (09:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Nov 2018 10:40:20 +0000 (10:40 +0000)
commit25d9bf7773b9663c1cb4e6589140a31c6e42f2c3
tree38c78f6a140fb4af9756b80213fa22ff84f457ea
parent2181ad4d4578626e401fe936767b5ac70482c123
drm/i915: Initialise the obj->rcu head

Make the rcu_head known to the system, in particular for debugobjects.
And having declared it for debugobjects, we need to tidy up afterwards.

v2: mark the obj->rcu as being destroyed when we reuse its location for
the freed list.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108691
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181109090311.15321-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c