]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black...
authorZ. Liu <liuzx@knownsec.com>
Sat, 18 Dec 2021 18:00:35 +0000 (02:00 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:57:08 +0000 (11:57 +0200)
BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit 62d89a7d49afe46e6b9bbe9e23b004ad848dbde4 ]

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: 11be60bd66d5 ("matroxfb: add Matrox MGA-G200eW board support")
Signed-off-by: Z. Liu <liuzx@knownsec.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 02684dd833327ebe7abb995dbd8c8d904c83bc3a)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/video/fbdev/matrox/matroxfb_base.c

index 5c82611e93d9950d2d6f1a44ac5d0aedc061e40a..236521b19daf7799f76a219585f827aeba385eaf 100644 (file)
@@ -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