mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 22:58:29 +00:00
drm/qxl: drop verify_access
Not needed any more. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-4-kraxel@redhat.com
This commit is contained in:
parent
60f57220cd
commit
de7f7c4724
1 changed files with 0 additions and 9 deletions
|
@ -110,14 +110,6 @@ static void qxl_evict_flags(struct ttm_buffer_object *bo,
|
||||||
*placement = qbo->placement;
|
*placement = qbo->placement;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int qxl_verify_access(struct ttm_buffer_object *bo, struct file *filp)
|
|
||||||
{
|
|
||||||
struct qxl_bo *qbo = to_qxl_bo(bo);
|
|
||||||
|
|
||||||
return drm_vma_node_verify_access(&qbo->tbo.base.vma_node,
|
|
||||||
filp->private_data);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev,
|
static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev,
|
||||||
struct ttm_mem_reg *mem)
|
struct ttm_mem_reg *mem)
|
||||||
{
|
{
|
||||||
|
@ -269,7 +261,6 @@ static struct ttm_bo_driver qxl_bo_driver = {
|
||||||
.eviction_valuable = ttm_bo_eviction_valuable,
|
.eviction_valuable = ttm_bo_eviction_valuable,
|
||||||
.evict_flags = &qxl_evict_flags,
|
.evict_flags = &qxl_evict_flags,
|
||||||
.move = &qxl_bo_move,
|
.move = &qxl_bo_move,
|
||||||
.verify_access = &qxl_verify_access,
|
|
||||||
.io_mem_reserve = &qxl_ttm_io_mem_reserve,
|
.io_mem_reserve = &qxl_ttm_io_mem_reserve,
|
||||||
.io_mem_free = &qxl_ttm_io_mem_free,
|
.io_mem_free = &qxl_ttm_io_mem_free,
|
||||||
.move_notify = &qxl_bo_move_notify,
|
.move_notify = &qxl_bo_move_notify,
|
||||||
|
|
Loading…
Add table
Reference in a new issue