linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
@ 2021-12-18 18:00 Z. Liu
  2021-12-19  5:09 ` Thorsten Leemhuis
  2021-12-20  8:31 ` Geert Uytterhoeven
  0 siblings, 2 replies; 3+ messages in thread
From: Z. Liu @ 2021-12-18 18:00 UTC (permalink / raw)
  To: liuzx; +Cc: linux-fbdev, linux-kernel

Start from commit 11be60bd66d54 "matroxfb: add Matrox MGA-G200eW board
support", when maxvram is 0x800000, monitor become black w/ error message
said: "The current input timing is not supported by the monitor display.
Please change your input timing to 1920x1080@60Hz ...".

Fixes: 1be60bd66d54 ("matroxfb: add Matrox MGA-G200eW board support")
Cc: linux-fbdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Z. Liu <liuzx@knownsec.com>
---
 drivers/video/fbdev/matrox/matroxfb_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/matrox/matroxfb_base.c b/drivers/video/fbdev/matrox/matroxfb_base.c
index 5c82611e93d9..236521b19daf 100644
--- a/drivers/video/fbdev/matrox/matroxfb_base.c
+++ b/drivers/video/fbdev/matrox/matroxfb_base.c
@@ -1377,7 +1377,7 @@ static struct video_board vbG200 = {
 	.lowlevel = &matrox_G100
 };
 static struct video_board vbG200eW = {
-	.maxvram = 0x800000,
+	.maxvram = 0x100000,
 	.maxdisplayable = 0x800000,
 	.accelID = FB_ACCEL_MATROX_MGAG200,
 	.lowlevel = &matrox_G100
-- 
2.32.0




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

end of thread, other threads:[~2021-12-20  8:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-18 18:00 [PATCH] matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen Z. Liu
2021-12-19  5:09 ` Thorsten Leemhuis
2021-12-20  8:31 ` 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).