summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-08-25 07:58:40 -0400
committerRob Clark <[email protected]>2017-12-19 16:36:10 -0500
commit308076fd55a44f8defedd80d75e256e51bdff0a2 (patch)
tree7e55e1c676b4de519491cd2b4668e7897db56669 /src/gallium/drivers/freedreno/freedreno_screen.c
parent805a72404c141454ae83f28cb982a4870732928f (diff)
freedreno: add debug flag to force high priority context
Mainly for testing, FD_MESA_DEBUG=hiprio will force high priority contexts. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index f1bc5682403..1fca3c768bf 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -81,6 +81,7 @@ static const struct debug_named_value debug_options[] = {
{"lrz", FD_DBG_LRZ, "Enable experimental LRZ support (a5xx+)"},
{"noindirect",FD_DBG_NOINDR, "Disable hw indirect draws (emulate on CPU)"},
{"noblit", FD_DBG_NOBLIT, "Disable blitter (fallback to generic blit path)"},
+ {"hiprio", FD_DBG_HIPRIO, "Force high-priority context"},
DEBUG_NAMED_VALUE_END
};