diff options
author | Eric Anholt <[email protected]> | 2014-12-02 13:18:56 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-05 10:43:14 -0800 |
commit | 34cf86bdc48e1b350437fe831fedd4632f4e06c2 (patch) | |
tree | 077250808d4a79e897b5b06018a7753a6ab03fc6 /src/gallium/drivers/vc4/vc4_screen.c | |
parent | c0e26c5d272d48c98ae50b9b5358492e76138657 (diff) |
vc4: Add a debug flag for waiting for sync on submit.
This is nice when you're tracking down which command list is hanging the
GPU.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index abd44eee3a8..18451bd71a7 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -52,6 +52,8 @@ static const struct debug_named_value debug_options[] = { "Skip actual hardware execution of commands" }, { "always_flush", VC4_DEBUG_ALWAYS_FLUSH, "Flush after each draw call" }, + { "always_sync", VC4_DEBUG_ALWAYS_SYNC, + "Wait for finish after each flush" }, { NULL } }; |