Skip to content

Commit b170455

Browse files
agxlynxeye-dev
authored andcommitted
drm/etnaviv: Consider all kwnown idle bits in debugfs
We were missing out on some bits the vendor kernel driver knows about. Signed-off-by: Guido Günther <[email protected]> Signed-off-by: Lucas Stach <[email protected]>
1 parent b9e352e commit b170455

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

drivers/gpu/drm/etnaviv/etnaviv_gpu.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,20 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m)
946946
seq_puts(m, "\t FP is not idle\n");
947947
if ((idle & VIVS_HI_IDLE_STATE_TS) == 0)
948948
seq_puts(m, "\t TS is not idle\n");
949+
if ((idle & VIVS_HI_IDLE_STATE_BL) == 0)
950+
seq_puts(m, "\t BL is not idle\n");
951+
if ((idle & VIVS_HI_IDLE_STATE_ASYNCFE) == 0)
952+
seq_puts(m, "\t ASYNCFE is not idle\n");
953+
if ((idle & VIVS_HI_IDLE_STATE_MC) == 0)
954+
seq_puts(m, "\t MC is not idle\n");
955+
if ((idle & VIVS_HI_IDLE_STATE_PPA) == 0)
956+
seq_puts(m, "\t PPA is not idle\n");
957+
if ((idle & VIVS_HI_IDLE_STATE_WD) == 0)
958+
seq_puts(m, "\t WD is not idle\n");
959+
if ((idle & VIVS_HI_IDLE_STATE_NN) == 0)
960+
seq_puts(m, "\t NN is not idle\n");
961+
if ((idle & VIVS_HI_IDLE_STATE_TP) == 0)
962+
seq_puts(m, "\t TP is not idle\n");
949963
if (idle & VIVS_HI_IDLE_STATE_AXI_LP)
950964
seq_puts(m, "\t AXI low power mode\n");
951965

0 commit comments

Comments
 (0)