]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit8811d616dfaa8c6e1905a20ce0543ec401275997
tree38c78f6a140fb4af9756b80213fa22ff84f457ea
parent58db08a73b75bfe0f718107bb4f09c57cd725c48
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