mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
i965: Temporarily disable async mappings on non-LLC
Fixes regressions from commitse0a9b261e5anda16355d67dby neutering async mappings on non-LLC to be synchronous, like they were before those two commits. :( The failing tests include piglit-test piglit.spec.nv_primitive_restart.primitive-restart-vbo_index_only piglit-test piglit.spec.nv_primitive_restart.primitive-restart-vbo_combined_vertex_and_index piglit-test piglit.spec.nv_primitive_restart.primitive-restart-vbo_separate_vertex_and_index piglit-test piglit.spec.nv_primitive_restart.primitive-restart-vbo_vertex_only piglit-test piglit.spec.arb_pixel_buffer_object.texsubimage-unpack pbo
This commit is contained in:
parent
d42fc65bb3
commit
71651b3139
1 changed files with 2 additions and 2 deletions
|
|
@ -689,7 +689,7 @@ brw_bo_map_cpu(struct brw_context *brw, struct brw_bo *bo, unsigned flags)
|
|||
DBG("brw_bo_map_cpu: %d (%s) -> %p\n", bo->gem_handle, bo->name,
|
||||
bo->map_cpu);
|
||||
|
||||
if (!(flags & MAP_ASYNC)) {
|
||||
if (!(flags & MAP_ASYNC) || !bufmgr->has_llc) {
|
||||
set_domain(brw, "CPU mapping", bo, I915_GEM_DOMAIN_CPU,
|
||||
flags & MAP_WRITE ? I915_GEM_DOMAIN_CPU : 0);
|
||||
}
|
||||
|
|
@ -743,7 +743,7 @@ brw_bo_map_gtt(struct brw_context *brw, struct brw_bo *bo, unsigned flags)
|
|||
DBG("bo_map_gtt: %d (%s) -> %p\n", bo->gem_handle, bo->name,
|
||||
bo->map_gtt);
|
||||
|
||||
if (!(flags & MAP_ASYNC)) {
|
||||
if (!(flags & MAP_ASYNC) || !bufmgr->has_llc) {
|
||||
set_domain(brw, "GTT mapping", bo,
|
||||
I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue