Skip to content

Commit 2d65ae4

Browse files
committed
drm/vc4: Drop WARN for HVS FIFOs not being empty
The reset condition for the EMPTY flag in DISPSTATx is 0, so seeing as we've just reset the pipeline there is no guarantee that the flag will denote empty if it hasn't been enabled. Drop the WARN. Signed-off-by: Dave Stevenson <[email protected]>
1 parent 77f030b commit 2d65ae4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/gpu/drm/vc4/vc4_hvs.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,10 +1005,6 @@ static void __vc4_hvs_stop_channel(struct vc4_hvs *hvs, unsigned int chan)
10051005
SCALER_DISPSTATX_MODE) !=
10061006
SCALER_DISPSTATX_MODE_DISABLED);
10071007

1008-
WARN_ON_ONCE((HVS_READ(SCALER_DISPSTATX(chan)) &
1009-
(SCALER_DISPSTATX_FULL | SCALER_DISPSTATX_EMPTY)) !=
1010-
SCALER_DISPSTATX_EMPTY);
1011-
10121008
out:
10131009
drm_dev_exit(idx);
10141010
}

0 commit comments

Comments
 (0)