drm/ttm: split populate out from binding.

Drivers have to call populate themselves now before binding.

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-5-airlied@gmail.com
This commit is contained in:
Dave Airlie
2020-09-15 11:16:53 +10:00
parent 395a73f8ba
commit 2040ec970e
7 changed files with 33 additions and 13 deletions

View File

@@ -173,8 +173,7 @@ void ttm_dma_tt_fini(struct ttm_dma_tt *ttm_dma);
* Bind the pages of @ttm to an aperture location identified by @bo_mem
*/
int ttm_tt_bind(struct ttm_bo_device *bdev,
struct ttm_tt *ttm, struct ttm_resource *bo_mem,
struct ttm_operation_ctx *ctx);
struct ttm_tt *ttm, struct ttm_resource *bo_mem);
/**
* ttm_ttm_destroy: