etnaviv: Use write combine instead of unached mappings for shader bo
[mesa.git] / src / gallium / drivers / etnaviv / etnaviv_shader.c
index 04ababc801ffd8428e6895614e4b7426276e4eb7..27c735b83bd000547438b95931a0ecd2ed5c5eaf 100644 (file)
@@ -41,7 +41,7 @@ static bool etna_icache_upload_shader(struct etna_context *ctx, struct etna_shad
 {
    if (v->bo)
       return true;
-   v->bo = etna_bo_new(ctx->screen->dev, v->code_size*4, DRM_ETNA_GEM_CACHE_UNCACHED);
+   v->bo = etna_bo_new(ctx->screen->dev, v->code_size*4, DRM_ETNA_GEM_CACHE_WC);
    if (!v->bo)
       return false;