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:
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user