freedreno/decode: Dump register values on LRZ_CLEAR

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30649>
This commit is contained in:
Rob Clark
2024-08-13 10:38:05 -07:00
committed by Marge Bot
parent 639d69f7e6
commit 4a59c319dc
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1906,7 +1906,7 @@ cp_event_write(uint32_t *dwords, uint32_t sizedwords, int level)
if (name && (options->info->chip > 5)) {
char eventname[64];
snprintf(eventname, sizeof(eventname), "EVENT:%s", name);
if (!strcmp(name, "BLIT")) {
if (!strcmp(name, "BLIT") || !strcmp(name, "LRZ_CLEAR")) {
do_query(eventname, 0);
print_mode(level);
dump_register_summary(level);
@@ -332,6 +332,9 @@ function draw(primtype, nindx)
if m == "RM6_RESOLVE" and primtype == "EVENT:BLIT" then
return
end
if m == "RM6_BLIT2DSCALE" and primtype == "EVENT:LRZ_CLEAR" then
return
end
printf("unknown MODE %s for primtype %s\n", m, primtype)
return
end