diff options
| author | Mika Kuoppala <[email protected]> | 2015-04-30 11:02:31 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-05-08 13:03:29 +0200 |
| commit | 5e562f1dddfa3242cede5ec49888260a856a9da2 (patch) | |
| tree | e79ddf46d309b15bcbc89afeaf0ed58a14ac040d /drivers/gpu/drm/i915/intel_runtime_pm.c | |
| parent | 65b38e0d87a491e25848bea3274825b594cbdb22 (diff) | |
drm/i915: Clear vma->bound on unbinding
Unbinding doesn't always lead to unconditional destruction
of vma. This destruction avoidance happens if vma is part of
execbuffer relocation list or if vma is being considered for
eviction in i915_gem_evict_something().
For those other users, mark the vma unbound so that
the correct state of this vma is preserved.
Reported-by: Chris Wilson <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_runtime_pm.c')
0 files changed, 0 insertions, 0 deletions