From: Dave Stevenson Date: Tue, 7 May 2019 14:00:02 +0000 (+0100) Subject: drm: vc4: Fixup typo when setting HDMI aspect ratio X-Git-Tag: accepted/tizen/unified/20200709.164653~1026 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccb96628ca7727f05ed7000be75e1992ad807e81;p=platform%2Fkernel%2Flinux-rpi.git drm: vc4: Fixup typo when setting HDMI aspect ratio Assignment was to the wrong structure. Signed-off-by: Dave Stevenson --- diff --git a/drivers/gpu/drm/vc4/vc4_firmware_kms.c b/drivers/gpu/drm/vc4/vc4_firmware_kms.c index f130675..1081878 100644 --- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c +++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c @@ -718,19 +718,19 @@ static void vc4_crtc_mode_set_nofb(struct drm_crtc *crtc) switch (frame.avi.picture_aspect) { default: case HDMI_PICTURE_ASPECT_NONE: - mode->flags |= TIMINGS_FLAGS_ASPECT_NONE; + mb.timings.flags |= TIMINGS_FLAGS_ASPECT_NONE; break; case HDMI_PICTURE_ASPECT_4_3: - mode->flags |= TIMINGS_FLAGS_ASPECT_4_3; + mb.timings.flags |= TIMINGS_FLAGS_ASPECT_4_3; break; case HDMI_PICTURE_ASPECT_16_9: - mode->flags |= TIMINGS_FLAGS_ASPECT_16_9; + mb.timings.flags |= TIMINGS_FLAGS_ASPECT_16_9; break; case HDMI_PICTURE_ASPECT_64_27: - mode->flags |= TIMINGS_FLAGS_ASPECT_64_27; + mb.timings.flags |= TIMINGS_FLAGS_ASPECT_64_27; break; case HDMI_PICTURE_ASPECT_256_135: - mode->flags |= TIMINGS_FLAGS_ASPECT_256_135; + mb.timings.flags |= TIMINGS_FLAGS_ASPECT_256_135; break; }