summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-09-15 04:16:53 +0300
committerDave Airlie <airlied@redhat.com>2020-09-16 02:34:54 +0300
commit2040ec970e94dde0b94e200ae9bb8f21a61c928f (patch)
treeee69d70cc3bf124bf28ddc5276fe632c042e1ed8 /include/drm
parent395a73f8ba6f00f0e188ac6daa43659520d75498 (diff)
downloadlinux-2040ec970e94dde0b94e200ae9bb8f21a61c928f.tar.xz
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: