drm/vc4: Add 2712 support to vc4_plane_async_set_fb
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 4 Jan 2024 15:02:42 +0000 (15:02 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:29 +0000 (11:35 +0000)
commit4d1564a0e95afd1ac7bfa752d5f61507deea07c9
tree94dc4d5d91f5ac4eff139ee2b57e4a2a33bf7d90
parent71b3c1b09f2b5330c24283a9063bf8fa00199e6f
drm/vc4: Add 2712 support to vc4_plane_async_set_fb

vc4_plane_async_set_fb directly overwrites the plane address in
the dlist entry, but hadn't been updated for the GEN6 / 2712
dlist format, corrupting the address in the process.

Add support for the 2712 dlist format to the function.

Fixes: 1ab1fbbb7e76 ("drm/vc4: hvs: Support BCM2712 HVS")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_plane.c