drm/vc4: plane: Fix incorrect handling of GEN_6_D in vc4_plane_async_set_fb

A conditional had been left as == GEN_6_C, when it also applied
to GEN_6_D, resulting in an invalid change to the dlist on async
updates.

Fixes: b7b14b31c8 ("drm/vc4: plane: Add support for 2712 D-step.")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
Dave Stevenson
2025-04-24 12:38:49 +01:00
committed by Dom Cobley
parent 32dea5e130
commit 618a24985a

View File

@@ -2376,7 +2376,7 @@ void vc4_plane_async_set_fb(struct drm_plane *plane, struct drm_framebuffer *fb)
*/
WARN_ON_ONCE(plane->state->crtc_x < 0 || plane->state->crtc_y < 0);
if (vc4->gen == VC4_GEN_6_C) {
if (vc4->gen >= VC4_GEN_6_C) {
u32 value;
value = vc4_state->dlist[vc4_state->ptr0_offset[0]] &