2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/gpu/drm/ttm
Benjamin Herrenschmidt 94318d50ff drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED
Today, most callers of ttm_io_prot() check TTM_PL_FLAG_CACHED before
calling it since on some archs it will unconditionally create non-cached
mappings.

But not all callers do which is incorrect as far as I can tell.

Instead, move that check inside ttm_io_port() itself for all archs
and make powerpc use the same implementation as ia64 and arm

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-09-23 15:00:26 +10:00
..
Makefile drm/ttm: Enable the dma page pool also for intel IOMMUs 2013-11-06 03:55:52 -08:00
ttm_agp_backend.c drm/ttm: Fix memory leak in ttm_agp_backend.c 2014-02-18 14:03:32 +01:00
ttm_bo_manager.c drm/ttm: move fpfn and lpfn into each placement v2 2014-08-27 13:16:04 +02:00
ttm_bo_util.c drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED 2014-09-23 15:00:26 +10:00
ttm_bo_vm.c drm/ttm: Clean usage of ttm_io_prot() with TTM_PL_FLAG_CACHED 2014-09-23 15:00:26 +10:00
ttm_bo.c drm/ttm: use rcu in core ttm 2014-09-02 17:28:47 +02:00
ttm_execbuf_util.c drm/ttm: allow fence to be added as shared 2014-09-11 10:46:00 -04:00
ttm_lock.c drivers: gpu: Remove unused function in ttm_lock.c 2014-01-08 13:24:14 +01:00
ttm_memory.c drm/ttm: make sure format string cannot leak in 2014-09-17 11:15:01 +10:00
ttm_module.c drm/ttm: make device_released static 2014-07-22 12:59:32 +10:00
ttm_object.c dma-buf: use reservation objects 2014-07-08 13:03:20 -07:00
ttm_page_alloc_dma.c drm/ttm: expose CPU address of DMA-allocated pages 2014-08-10 01:08:03 +10:00
ttm_page_alloc.c drm/ttm: Pass GFP flags in order to avoid deadlock. 2014-08-05 10:54:19 +10:00
ttm_tt.c drm/ttm: expose CPU address of DMA-allocated pages 2014-08-10 01:08:03 +10:00