drm/ttm: split bound/populated flags.
Move bound up into the bo object, and keep populated with the tt object. The ghost object handling needs to follow the flags at the bo level now instead of it being part of the ttm tt object. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200915024007.67163-7-airlied@gmail.com
This commit is contained in:
@@ -141,6 +141,7 @@ struct ttm_buffer_object {
|
||||
struct ttm_resource mem;
|
||||
struct file *persistent_swap_storage;
|
||||
struct ttm_tt *ttm;
|
||||
bool ttm_bound;
|
||||
bool evicted;
|
||||
bool deleted;
|
||||
|
||||
|
Reference in New Issue
Block a user