mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 22:58:04 +02:00
ttm: Don't set the ghost object to NULL.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
This commit is contained in:
parent
24e42a3bd1
commit
934dcdd363
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo,
|
|||
if (!(man->flags & TTM_MEMTYPE_FLAG_FIXED))
|
||||
ghost_obj->ttm = NULL;
|
||||
else
|
||||
ghost_obj = NULL;
|
||||
bo->ttm = NULL;
|
||||
|
||||
bo->priv_flags |= TTM_BO_PRIV_FLAG_MOVING;
|
||||
ttm_bo_unreserve(ghost_obj);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue