]> git.baikalelectronics.ru Git - kernel.git/commit
savagefb: fix DDC for Savage 4
authorOndrej Zary <linux@rainbow-software.org>
Wed, 27 Oct 2010 22:33:25 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:08 +0000 (18:03 -0700)
commit1d17fd73b44225b55069cd15a926ec8e8d9d8bcb
treea2a8beb7b0996d2cb9fafe81ade2f4cda2005bdd
parent364dc95d7efc1e4707409d4b32e2c5af77d92af6
savagefb: fix DDC for Savage 4

I tested savagefb on 3 different Savage 4 cards:
Diamond Stealth III S520
Number Nine SR9
Datapath Horizon 2S (two savage chips on a PCI card)

it worked except the DDC which did not work on any of them.

Looking at the BIOS code, it does not use MMIO register 0xff20 but CRT
register 0xa0 or 0xb1 - depending on the chip revision and something in
register 0xa6.  With this patch, DDC works fine on all 3 cards (even on
the second head of Horizon 2S - although it does not display anything as
it's misconfigured because of missing BIOS).

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/savage/savagefb-i2c.c