From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ondrej Zary Date: Mon, 11 Apr 2011 21:44:45 +0000 Subject: [PATCH v4] s3fb: add DDC support Message-Id: <201104112344.48987.linux@rainbow-software.org> List-Id: References: <201104032236.18936.linux@rainbow-software.org> <20110407170151.GE8052@linux-sh.org> In-Reply-To: <20110407170151.GE8052@linux-sh.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Paul Mundt Cc: Ondrej Zajicek , linux-fbdev@vger.kernel.org, Kernel development list Add I2C support for the DDC bus and also default mode initialization by reading monitor EDID to the s3fb driver. Tested on Trio64V+ (2 cards), Trio64V2/DX, Virge (3 cards), Virge/DX (3 cards), Virge/GX2, Trio3D/2X (4 cards), Trio3D. Will probably not work on Trio32 - my 2 cards have DDC support in BIOS that looks different from the other cards but the DDC pins on the VGA connector are not connected. Signed-off-by: Ondrej Zary --- linux-2.6.39-rc2-/drivers/video/s3fb.c 2011-04-11 23:29:44.000000000 +0200 +++ linux-2.6.39-rc2/drivers/video/s3fb.c 2011-04-11 23:10:35.000000000 +0200 @@ -25,6 +25,9 @@ #include /* Why should fb driver call console functions? because console_lock() */ #include