From: Maciej W. Rozycki Date: Mon, 22 Feb 2016 01:55:12 +0000 (+0000) Subject: video: fbdev: pmag-aa-fb: Report video timings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df0821043f05cef211db34fca25a218f8c6b4b48;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git video: fbdev: pmag-aa-fb: Report video timings The board uses hardwired timings compatible with 72Hz DEC VR319-DA and VRM17-AA monitors, according to the board owner's manual[1]. These timings are accordingly taken from the VR319 manual[2]. References: [1] "The Monochrome Frame Buffer TURBOchannel Module", Digital Equipment Corporation, Order Number: EK-MFBOM-TC-001, December 1991 [2] "Installing and Using the VR319 Monochrome Monitor", Digital Equipment Corporation, Order Number: EK-VR319-IN-001, First Edition, January 1990, Table 6-1 "Video Timing--1280 x 1024 Resolution" Signed-off-by: Maciej W. Rozycki Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/fbdev/pmag-aa-fb.c b/drivers/video/fbdev/pmag-aa-fb.c index 3920b4ec8fc4..def86f7d412f 100644 --- a/drivers/video/fbdev/pmag-aa-fb.c +++ b/drivers/video/fbdev/pmag-aa-fb.c @@ -79,6 +79,13 @@ static struct fb_var_screeninfo aafb_defined = { .blue.length = 0, .activate = FB_ACTIVATE_NOW, .accel_flags = FB_ACCEL_NONE, + .pixclock = 7645, + .left_margin = 224, + .right_margin = 32, + .upper_margin = 33, + .lower_margin = 3, + .hsync_len = 160, + .vsync_len = 3, .sync = FB_SYNC_ON_GREEN, .vmode = FB_VMODE_NONINTERLACED, };