Re: [PATCH 7/8] drm/ttm: use caching instead of placement for ttm_io_prot

2020-10-07 Thread Christian König
Am 05.10.20 um 17:51 schrieb Ruhl, Michael J: -Original Message- From: dri-devel On Behalf Of Christian König Sent: Thursday, October 1, 2020 7:28 AM To: dri-devel@lists.freedesktop.org; ray.hu...@amd.com; airl...@gmail.com; dan...@ffwll.ch Subject: [PATCH 7/8] drm/ttm: use caching

RE: [PATCH 7/8] drm/ttm: use caching instead of placement for ttm_io_prot

2020-10-05 Thread Ruhl, Michael J
>-Original Message- >From: dri-devel On Behalf Of >Christian König >Sent: Thursday, October 1, 2020 7:28 AM >To: dri-devel@lists.freedesktop.org; ray.hu...@amd.com; >airl...@gmail.com; dan...@ffwll.ch >Subject: [PATCH 7/8] drm/ttm: use caching instead of place

[PATCH 7/8] drm/ttm: use caching instead of placement for ttm_io_prot

2020-10-01 Thread Christian König
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 --- drivers/gpu/drm/ttm/ttm_bo_util.c| 23 ++- drivers/gpu/drm/ttm/ttm_bo_vm.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_blit.c |