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/
This commit is contained in:
Christian König
2020-10-01 16:17:55 +02:00
parent 4ce032d64c
commit 4561b366c7
3 changed files with 5 additions and 5 deletions

View File

@@ -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);
/**