summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-09-15 11:16:53 +1000
committerDave Airlie <airlied@redhat.com>2020-09-16 09:34:54 +1000
commit2040ec970e94dde0b94e200ae9bb8f21a61c928f (patch)
treeee69d70cc3bf124bf28ddc5276fe632c042e1ed8 /include/drm
parent395a73f8ba6f00f0e188ac6daa43659520d75498 (diff)
downloadlinux-next-2040ec970e94dde0b94e200ae9bb8f21a61c928f.tar.gz
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
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/ttm/ttm_tt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
index 86ae759ff018..8f57d86ee67b 100644
--- a/include/drm/ttm/ttm_tt.h
+++ b/include/drm/ttm/ttm_tt.h
@@ -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: