diff options
author | Christian König <christian.koenig@amd.com> | 2020-10-19 19:49:27 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-10-26 16:43:35 +0300 |
commit | d1cb1f254a5b1c07788eecb84b443d59ccdfb9e0 (patch) | |
tree | 2cf1db25776e2c2f6d6c58e12701875fae1757ef /include/drm | |
parent | ef52d5853bf1d0ac1254a8d44e5b8f4edc274960 (diff) | |
download | linux-d1cb1f254a5b1c07788eecb84b443d59ccdfb9e0.tar.xz |
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/
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/ttm/ttm_tt.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h index e042dec5e6c1..e3e60c1da754 100644 --- a/include/drm/ttm/ttm_tt.h +++ b/include/drm/ttm/ttm_tt.h @@ -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 * |