We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74f21be commit ea23632Copy full SHA for ea23632
drivers/gpu/drm/vc4/vc4_hvs.c
@@ -110,7 +110,7 @@ static int vc4_hvs_debugfs_dlist(struct seq_file *m, void *data)
110
struct vc4_dev *vc4 = to_vc4_dev(dev);
111
struct vc4_hvs *hvs = vc4->hvs;
112
struct drm_printer p = drm_seq_file_printer(m);
113
- unsigned int next_entry_start = 0;
+ unsigned int next_entry_start;
114
unsigned int i, j;
115
u32 dlist_word, dispstat;
116
@@ -124,6 +124,7 @@ static int vc4_hvs_debugfs_dlist(struct seq_file *m, void *data)
124
}
125
126
drm_printf(&p, "HVS chan %u:\n", i);
127
+ next_entry_start = 0;
128
129
for (j = HVS_READ(SCALER_DISPLISTX(i)); j < 256; j++) {
130
dlist_word = readl((u32 __iomem *)vc4->hvs->dlist + j);
0 commit comments