radv: only emit dfsm packets if dfsm is allowed.
authorDave Airlie <airlied@redhat.com>
Tue, 24 Oct 2017 03:03:29 +0000 (04:03 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Oct 2017 22:00:57 +0000 (23:00 +0100)
commita5499b639c96716ff7ce62502115c0fd453a078e
tree0de1373a3ca18fe8e6b9be64d93896dccf448af6
parent4aa69cc4257d1f60a1a4cee142fa55e577093407
radv: only emit dfsm packets if dfsm is allowed.

radeonsi only emits these when dfsm is enabled, so for now
just hinge them on a flag we never set.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h