mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01:00
anv/meta: Make clflushes conditional on !devinfo->has_llc
This commit is contained in:
parent
c226e72a39
commit
d4a28ae52a
2 changed files with 6 additions and 3 deletions
|
|
@ -186,7 +186,8 @@ meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
|
|||
},
|
||||
};
|
||||
|
||||
anv_state_clflush(vb_state);
|
||||
if (!device->info.has_llc)
|
||||
anv_state_clflush(vb_state);
|
||||
|
||||
struct anv_buffer vertex_buffer = {
|
||||
.device = device,
|
||||
|
|
|
|||
|
|
@ -468,7 +468,8 @@ anv_meta_blit2d_normal_dst(struct anv_cmd_buffer *cmd_buffer,
|
|||
},
|
||||
};
|
||||
|
||||
anv_state_clflush(vb_state);
|
||||
if (!device->info.has_llc)
|
||||
anv_state_clflush(vb_state);
|
||||
|
||||
struct anv_buffer vertex_buffer = {
|
||||
.device = device,
|
||||
|
|
@ -611,7 +612,8 @@ anv_meta_blit2d_w_tiled_dst(struct anv_cmd_buffer *cmd_buffer,
|
|||
},
|
||||
};
|
||||
|
||||
anv_state_clflush(vb_state);
|
||||
if (!device->info.has_llc)
|
||||
anv_state_clflush(vb_state);
|
||||
|
||||
struct anv_buffer vertex_buffer = {
|
||||
.device = device,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue