Skip to content

Commit cac6410

Browse files
committed
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: b7b14b3 ("drm/vc4: plane: Add support for 2712 D-step.") Signed-off-by: Dave Stevenson <[email protected]>
1 parent 763693b commit cac6410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/vc4/vc4_plane.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,7 @@ void vc4_plane_async_set_fb(struct drm_plane *plane, struct drm_framebuffer *fb)
23732373
*/
23742374
WARN_ON_ONCE(plane->state->crtc_x < 0 || plane->state->crtc_y < 0);
23752375

2376-
if (vc4->gen == VC4_GEN_6_C) {
2376+
if (vc4->gen >= VC4_GEN_6_C) {
23772377
u32 value;
23782378

23792379
value = vc4_state->dlist[vc4_state->ptr0_offset[0]] &

0 commit comments

Comments
 (0)