OSDN Git Service

drm/ttm: use caching instead of placement for ttm_io_prot
authorChristian König <christian.koenig@amd.com>
Wed, 30 Sep 2020 13:56:53 +0000 (15:56 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 15 Oct 2020 10:51:24 +0000 (12:51 +0200)
commit867bcecd6ae4632e3faf38d381dd5a697b9503d1
tree9ca7caf476c74b0a173397d7603ff24cf7740dd4
parent1cf65c45183a6c8b4703675d40e709f7ffed935c
drm/ttm: use caching instead of placement for ttm_io_prot

Instead of the placement flags use the caching of the bus
mapping or tt object for the page protection flags.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patchwork.freedesktop.org/patch/394255/
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_bo_vm.c
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
include/drm/ttm/ttm_bo_driver.h