diff options
author | Christian König <christian.koenig@amd.com> | 2020-08-03 16:25:15 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-08-12 15:51:03 +0200 |
commit | b2458726b38cb69f3da3677dbdf53e47af0e8792 (patch) | |
tree | c7f566f8738c1fdc10e97b1d44f83a31fe4374e2 /drivers/gpu/drm/nouveau/nouveau_bo.c | |
parent | e92ae67d6ed881e9c6d6d432eb6b5817f150a115 (diff) | |
download | linux-b2458726b38cb69f3da3677dbdf53e47af0e8792.tar.bz2 |
drm/ttm: give resource functions their own [ch] files
This is a separate object we work within TTM.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/384338/?series=80346&rev=1
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bo.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 604a74323696..29d7d7e100f7 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -1191,7 +1191,7 @@ nouveau_bo_move_flipd(struct ttm_buffer_object *bo, bool evict, bool intr, ret = ttm_bo_move_ttm(bo, &ctx, new_reg); out: - ttm_bo_mem_put(bo, &tmp_reg); + ttm_resource_free(bo, &tmp_reg); return ret; } @@ -1227,7 +1227,7 @@ nouveau_bo_move_flips(struct ttm_buffer_object *bo, bool evict, bool intr, goto out; out: - ttm_bo_mem_put(bo, &tmp_reg); + ttm_resource_free(bo, &tmp_reg); return ret; } |