Skip to content

Commit 94791ae

Browse files
6by9pelwell
authored andcommitted
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 <dave.stevenson@raspberrypi.com>
1 parent b84e96d commit 94791ae

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
@@ -2376,7 +2376,7 @@ void vc4_plane_async_set_fb(struct drm_plane *plane, struct drm_framebuffer *fb)
23762376
*/
23772377
WARN_ON_ONCE(plane->state->crtc_x < 0 || plane->state->crtc_y < 0);
23782378

2379-
if (vc4->gen == VC4_GEN_6_C) {
2379+
if (vc4->gen >= VC4_GEN_6_C) {
23802380
u32 value;
23812381

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

0 commit comments

Comments
 (0)