]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: ttm_bo_swapout_all doesn't use it's argument.
authorDave Airlie <airlied@redhat.com>
Tue, 28 Jul 2020 03:42:54 +0000 (13:42 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Jul 2020 00:01:23 +0000 (10:01 +1000)
commitb79062eee5a76d56f71c80358884d3e9a6b74e41
tree2ffcda5b47279d62976a75127e42cff0d10bee45
parent045ff9e78a0db3620357c4df7a111f5da7686b1f
drm/ttm: ttm_bo_swapout_all doesn't use it's argument.

Just drop the argument from this.

This does ask the question if this is the function vmwgfx
should be using or should it be doing an evict all like
the other drivers.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200728034254.20114-1-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/ttm/ttm_bo_api.h