radv: Use pbb_allow for framebuffer BREAK_BATCH.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 18 Jul 2019 23:10:36 +0000 (01:10 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 23 Jul 2019 19:26:59 +0000 (21:26 +0200)
Ported from radeonsi.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c

index 84d627340e9fdc7cc0bada902550d2106dc01739..72593f19ba5b3c49964e10f5ba1aba19bf28007c 100644 (file)
@@ -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));
        }