drm/vc4: hvs: Fix frame count register readout
In order to get the field currently being output, the driver has been using the display FIFO frame count in the HVS, reading a 6-bit field at the offset 12 in the DISPSTATx register. While that field is indeed at that location for the FIFO 1 and 2, the one for the FIFO0 is actually in the DISPSTAT1 register, at the offset 18. Fixes: e538092c ("drm/vc4: Enable precise vblank timestamping for interlaced modes.") Signed-off-by:Maxime Ripard <maxime@cerno.tech> Acked-by:
Thomas Zimmermann <tzimmermann@suse.de> Link: https://lore.kernel.org/r/20220331143744.777652-3-maxime@cerno.tech
Loading
-
mentioned in commit d5066442
-
mentioned in commit e87de96d
-
mentioned in commit d5d49e6f
-
mentioned in commit 67df1e3c
-
mentioned in commit c14423a4
-
mentioned in commit fe8a2da9
-
mentioned in commit 26cf133f
-
mentioned in commit 5b6a4d47
-
mentioned in commit 428878d4
-
mentioned in commit e599023e
-
mentioned in commit 83ad64fc
-
mentioned in commit 88a6fb8b
-
mentioned in commit 61865c37
Please register or sign in to comment