From: Bas Nieuwenhuizen Date: Thu, 18 Jul 2019 23:10:36 +0000 (+0200) Subject: radv: Use pbb_allow for framebuffer BREAK_BATCH. X-Git-Tag: upstream/19.3.0~3833 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=906fcfccfdef69a666c4469bd21ce6de52c2d11a;p=platform%2Fupstream%2Fmesa.git radv: Use pbb_allow for framebuffer BREAK_BATCH. Ported from radeonsi. Reviewed-by: Samuel Pitoiset Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 84d6273..72593f1 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -1936,7 +1936,7 @@ radv_emit_framebuffer_state(struct radv_cmd_buffer *cmd_buffer) S_028424_DISABLE_CONSTANT_ENCODE_REG(disable_constant_encode)); } - if (cmd_buffer->device->dfsm_allowed) { + if (cmd_buffer->device->pbb_allowed) { radeon_emit(cmd_buffer->cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); radeon_emit(cmd_buffer->cs, EVENT_TYPE(V_028A90_BREAK_BATCH) | EVENT_INDEX(0)); }