android_kernel_xiaomi_sm8350/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
ttm_agp_backend.c
ttm_bo_util.c
ttm_bo_vm.c
ttm_bo.c
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
ttm_tt.c drm/radeon/kms: fix coherency issues on AGP cards. 2009-11-04 09:53:14 +10:00