]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/drm/ttm/ttm_bo_api.h
drm/ttm: remove TTM_BO_PRIV_FLAG_MOVING
authorChristian König <christian.koenig@amd.com>
Wed, 15 Jun 2016 11:44:01 +0000 (13:44 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:40 +0000 (14:54 -0400)
commit5bc730677b1698c479f0134926b90789759b17ee
tree235ba11d0271bdd73274d93887e23efe0e095f12
parent74561cd4f128091f41ab698277cde2542dcc5cad
drm/ttm: remove TTM_BO_PRIV_FLAG_MOVING

Instead of using the flag just remember the fence of the last move operation.

This avoids waiting for command submissions pipelined after the move, but
before accessing the BO with the CPU again.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_bo_vm.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_bo_driver.h