2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/gpu/drm/ttm
Dave Airlie df67bed92f drm/radeon/kms: fix coherency issues on AGP cards.
When we are evicting from VRAM->RAM we allocate the ttm object,
but we don't set the caching policy on it before blitting into it.
This means on AGP we end up blitting into cached pages, and
the CPU later flushes out on top of them. This was mostly seen as
font corruption.

The other question is why we don't evict VRAM->GTT in a lot of cases,
this would save us some cache transitions since a lot of objects
that are evicted from VRAM will probably end up being pulled back in
a few operations later, and evicting them to system memory involves
2 unnecessary cache transitions.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-04 09:53:14 +10:00
..
Makefile drm: Add the TTM GPU memory manager subsystem. 2009-06-15 09:37:57 +10:00
ttm_agp_backend.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
ttm_bo_util.c Merge Linus master to drm-next 2009-08-20 13:38:04 +10:00
ttm_bo_vm.c Merge branch 'drm-radeon-kms' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-07-29 12:31:59 -07:00
ttm_bo.c drm/ttm: Fixes for "Make parts of a struct ttm_bo_device global" 2009-08-20 18:58:13 +10:00
ttm_global.c drm/ttm: fix refcounting in ttm global code. 2009-10-06 15:46:10 +10:00
ttm_memory.c drm/ttm: Fixes for "Memory accounting rework." 2009-08-20 18:58:15 +10:00
ttm_module.c drm/ttm: Add a virtual ttm sysfs device. 2009-08-19 16:09:04 +10:00
ttm_tt.c drm/radeon/kms: fix coherency issues on AGP cards. 2009-11-04 09:53:14 +10:00