2019-09-04 17:01:23 +00:00
|
|
|
From 503b0c2487c1572d928c6b434aa306a3e33a0cdd Mon Sep 17 00:00:00 2001
|
2019-07-09 18:32:28 +00:00
|
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
|
|
|
|
Date: Tue, 7 May 2019 15:00:02 +0100
|
2019-09-04 17:01:23 +00:00
|
|
|
Subject: [PATCH 618/782] drm: vc4: Fixup typo when setting HDMI aspect ratio
|
2019-07-09 18:32:28 +00:00
|
|
|
|
|
|
|
Assignment was to the wrong structure.
|
|
|
|
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
|
|
|
|
---
|
|
|
|
drivers/gpu/drm/vc4/vc4_firmware_kms.c | 10 +++++-----
|
|
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c
|
|
|
|
+++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c
|
|
|
|
@@ -717,19 +717,19 @@ static void vc4_crtc_mode_set_nofb(struc
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|