drm/radeon/kms: fix coherency issues on AGP cards.
[deliverable/linux.git] / drivers / gpu / drm / radeon / radeon_ttm.c
index c729cd1a750662c22f77074bcb990dfdb8372eba..f489c0de6f1330ed3596f1d06d8a99461f1f483e 100644 (file)
@@ -295,6 +295,12 @@ static int radeon_move_vram_ram(struct ttm_buffer_object *bo,
        if (unlikely(r)) {
                return r;
        }
+
+       r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement);
+       if (unlikely(r)) {
+               goto out_cleanup;
+       }
+
        r = ttm_tt_bind(bo->ttm, &tmp_mem);
        if (unlikely(r)) {
                goto out_cleanup;
This page took 0.031644 seconds and 5 git commands to generate.