diff options
author | Dave Airlie <airlied@redhat.com> | 2020-09-23 06:04:49 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-09-23 23:41:32 +0300 |
commit | 0ef1ed813e6b13d29331088070c7f554b350a266 (patch) | |
tree | 061c6e02b01721aed98a74de333ead0d418a9b08 /drivers/gpu/drm/qxl/qxl_ttm.c | |
parent | 5466186745937e950bd17ee66f3f59cc329b6b71 (diff) | |
download | linux-0ef1ed813e6b13d29331088070c7f554b350a266.tar.xz |
drm/ttm: add bo wait that takes a ctx wrapper.
I'm thinking of pushing the wait into the drivers.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200923030454.362731-6-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_ttm.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c index fd691fff8394..320c202f163c 100644 --- a/drivers/gpu/drm/qxl/qxl_ttm.c +++ b/drivers/gpu/drm/qxl/qxl_ttm.c @@ -160,7 +160,7 @@ static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, struct ttm_resource *old_mem = &bo->mem; int ret; - ret = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); + ret = ttm_bo_wait_ctx(bo, ctx); if (ret) return ret; |