linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC v2] video: fbdev: atari: Fix TT High video mode
@ 2020-11-01 10:29 Geert Uytterhoeven
  2020-11-01 11:29 ` Sam Ravnborg
  0 siblings, 1 reply; 11+ messages in thread
From: Geert Uytterhoeven @ 2020-11-01 10:29 UTC (permalink / raw)
  To: Michael Schmitz; +Cc: linux-fbdev, linux-m68k, dri-devel, Geert Uytterhoeven

The horizontal resolution (640) for the TT High video mode (1280x960) is
definitely bogus.  While fixing that, correct the timings to match the
TTM195 service manual.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
Untested on actual hardware, hence the RFC.

v2:
  - Use correct base.
---
 drivers/video/fbdev/atafb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/fbdev/atafb.c b/drivers/video/fbdev/atafb.c
index f253daa05d9d3872..5ecf3ec9f94cb720 100644
--- a/drivers/video/fbdev/atafb.c
+++ b/drivers/video/fbdev/atafb.c
@@ -495,8 +495,8 @@ static struct fb_videomode atafb_modedb[] __initdata = {
 		"tt-mid", 60, 640, 480, 31041, 120, 100, 8, 16, 140, 30,
 		0, FB_VMODE_NONINTERLACED | FB_VMODE_YWRAP
 	}, {
-		/* 1280x960, 29 kHz, 60 Hz (TT high) */
-		"tt-high", 57, 640, 960, 31041, 120, 100, 8, 16, 140, 30,
+		/* 1280x960, 72 kHz, 72 Hz (TT high) */
+		"tt-high", 57, 1280, 960, 7761, 260, 60, 36, 4, 192, 4,
 		0, FB_VMODE_NONINTERLACED | FB_VMODE_YWRAP
 	},
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-11-09  8:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 10:29 [PATCH/RFC v2] video: fbdev: atari: Fix TT High video mode Geert Uytterhoeven
2020-11-01 11:29 ` Sam Ravnborg
2020-11-01 12:46   ` Andreas Schwab
2020-11-02  8:39     ` Geert Uytterhoeven
2020-11-02  9:38       ` Andreas Schwab
2020-11-02 10:11         ` Geert Uytterhoeven
2020-11-02 10:29           ` Andreas Schwab
2020-11-02 12:07             ` Geert Uytterhoeven
2020-11-02  9:40       ` Andreas Schwab
2020-11-02 18:52       ` Michael Schmitz
2020-11-09  8:38     ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).