Thread (8 messages) 8 messages, 3 authors, 2011-04-11

Re: [PATCH v3] s3fb: add DDC support

From: Paul Mundt <hidden>
Date: 2011-04-06 17:02:27
Also in: lkml

On Mon, Apr 04, 2011 at 11:25:36AM +0200, Ondrej Zary wrote:
On Monday 04 April 2011, Paul Mundt wrote:
quoted
On Mon, Apr 04, 2011 at 10:33:16AM +0200, Ondrej Zajicek wrote:
quoted
On Sun, Apr 03, 2011 at 10:36:15PM +0200, Ondrej Zary wrote:
quoted
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 <redacted>
Acked-by: Ondrej Zajicek <redacted>
Is there much reason to leave this optional? Or are you simply waiting
for testing feedback from Trio32 users before default-enabling it?

It would generally be nice to avoid these sorts of config options for a
specific driver if it already is quite capable of handling the
unsupported cases and has a reasonable fallback on defaults via the error
path.
If the config option is not desired, I'll remove it, I don't like it either. 
Just did it like some other fb drivers do. The only reason why someone would 
want to disable DDC is probably to have I2C-less kernel.
Oh, that's right, i2c is one of those pain in the ass subsystems that
refuses to provide a stubbed implementation of the API for i2c disabled
systems. Lets just stick with the first version for now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help