drm/ttm: nuke ttm_tt_set_(un)populated again
Neither page allocation backend nor the driver should mess with that. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Madhav Chauhan <madhav.chauhan@amd.com> Link: https://patchwork.freedesktop.org/patch/396948/
This commit is contained in:
@ -72,16 +72,6 @@ static inline bool ttm_tt_is_populated(struct ttm_tt *tt)
|
||||
return tt->page_flags & TTM_PAGE_FLAG_PRIV_POPULATED;
|
||||
}
|
||||
|
||||
static inline void ttm_tt_set_unpopulated(struct ttm_tt *tt)
|
||||
{
|
||||
tt->page_flags &= ~TTM_PAGE_FLAG_PRIV_POPULATED;
|
||||
}
|
||||
|
||||
static inline void ttm_tt_set_populated(struct ttm_tt *tt)
|
||||
{
|
||||
tt->page_flags |= TTM_PAGE_FLAG_PRIV_POPULATED;
|
||||
}
|
||||
|
||||
/**
|
||||
* struct ttm_dma_tt
|
||||
*
|
||||
|
Reference in New Issue
Block a user