diff options
author | Dave Airlie <airlied@redhat.com> | 2020-09-15 03:02:12 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-09-16 01:33:53 +0200 |
commit | 2ff6e69c0449846197c52d7c591b983e23e3e3c9 (patch) | |
tree | 2721ddf4aee13ee345276163777078231e9e9ea9 /include/drm/ttm/ttm_bo_driver.h | |
parent | drm/ttm/tt: add wrappers to set tt state. (diff) | |
download | linux-2ff6e69c0449846197c52d7c591b983e23e3e3c9.tar.xz linux-2ff6e69c0449846197c52d7c591b983e23e3e3c9.zip |
drm/ttm: wrap tt destroy. (v2)
All places this was called was using bo->ttm either direct
or indirectly.
v2: move to ttm_bo
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-3-airlied@gmail.com
Diffstat (limited to 'include/drm/ttm/ttm_bo_driver.h')
-rw-r--r-- | include/drm/ttm/ttm_bo_driver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h index 0b7d18650dc5..70557e2de9be 100644 --- a/include/drm/ttm/ttm_bo_driver.h +++ b/include/drm/ttm/ttm_bo_driver.h @@ -685,6 +685,11 @@ int ttm_bo_pipeline_gutting(struct ttm_buffer_object *bo); pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp); /** + * ttm_bo_tt_destroy. + */ +void ttm_bo_tt_destroy(struct ttm_buffer_object *bo); + +/** * ttm_range_man_init * * @bdev: ttm device |