Skip to content
Commit c20e8355 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/i915: fix the racy object accounting



Just use a spinlock to protect them.

v2: Rebase onto the new object create refcount fix patch.

v3: Don't kill dev_priv->mm.object_memory as requested by Chris and
hence just use a spinlock instead of atomic_t.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67287


Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent ed71f1b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment