drm/vc4: Fix reading of frame count on GEN5 / Pi4
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 4 Jan 2024 12:02:43 +0000 (12:02 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:26 +0000 (11:35 +0000)
commitd5d49e6f8943a3dd9478acb28b3702ac0f488bd6
tree41c0f9423c1171c275fe49869575c73c70f8d31f
parentfd3ab4d68398c858275c7273baa5bf5e0e6137c7
drm/vc4: Fix reading of frame count on GEN5 / Pi4

The frame count values moved within registers DISPSTAT1 and
DISPSTAT2 with GEN5, so update the accessor function to
accommodate that.

Fixes: b51cd7ad143d ("drm/vc4: hvs: Fix frame count register readout")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_regs.h