diff options
author | Marek Olšák <[email protected]> | 2017-10-07 18:10:26 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-10-09 16:20:16 +0200 |
commit | 3784ce9782b47772c950b841f8934d51a18c4b7d (patch) | |
tree | a63307d806662cd0fc9917dc3b5fd27b9aa0f1cb /src/gallium/drivers/radeonsi/si_debug.c | |
parent | 99fa9ccf969c47e9ddf4ac844b557935759fcea6 (diff) |
radeonsi: enumerize DBG flags
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_debug.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index ddf65d6d7e2..1aca98bcde7 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -1103,7 +1103,7 @@ void si_init_debug_functions(struct si_context *sctx) /* Set the initial dmesg timestamp for this context, so that * only new messages will be checked for VM faults. */ - if (sctx->screen->b.debug_flags & DBG_CHECK_VM) + if (sctx->screen->b.debug_flags & DBG(CHECK_VM)) ac_vm_fault_occured(sctx->b.chip_class, &sctx->dmesg_timestamp, NULL); } |