Skip to content
Commit 0ab2251b authored by Chris Wilson's avatar Chris Wilson
Browse files

intel: Reset vma list upon purge



During free we unconditionally delete the bo from the vma cache. This
relies on the its list member being kept in a sane state. This fails
after the object is purged, as the purge operation performs a pure
deletion and doesn't reset the list member, leaving a pair of dangling
pointers.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent ac168bf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment