summaryrefslogtreecommitdiff
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2020-10-01 16:17:55 +0200
committerChristian König <christian.koenig@amd.com>2020-10-07 13:53:38 +0200
commit4561b366c70e312698361154bdfe1e04f596056b (patch)
tree4cf3423c94e274c53b996b79614b03c1611b810f /include/drm/ttm
parent4ce032d64c2a30cf5b23c57b3328d5d2dab99a1f (diff)
downloadlwn-4561b366c70e312698361154bdfe1e04f596056b.tar.gz
lwn-4561b366c70e312698361154bdfe1e04f596056b.zip
drm/ttm: drop glob parameter from ttm_bo_swapout
We can always access the global state. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/393499/
Diffstat (limited to 'include/drm/ttm')
-rw-r--r--include/drm/ttm/ttm_bo_api.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h
index 6f5ced7d83fe..11c59d6d72d5 100644
--- a/include/drm/ttm/ttm_bo_api.h
+++ b/include/drm/ttm/ttm_bo_api.h
@@ -541,8 +541,7 @@ ssize_t ttm_bo_io(struct ttm_bo_device *bdev, struct file *filp,
const char __user *wbuf, char __user *rbuf,
size_t count, loff_t *f_pos, bool write);
-int ttm_bo_swapout(struct ttm_bo_global *glob,
- struct ttm_operation_ctx *ctx);
+int ttm_bo_swapout(struct ttm_operation_ctx *ctx);
void ttm_bo_swapout_all(void);
/**