]> err.no Git - linux-2.6/commit
nvidiafb: Fix reversed DDC port
authorPetr Vandrovec <vandrove@vc.cvut.cz>
Tue, 8 May 2007 07:38:02 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:27 +0000 (11:15 -0700)
commit2707cd016b12d5e64c4feefcb5740b65f0c46845
tree88dac9961436f9e3e2d74191ab070c97eeb38425
parentdd1447134454b169d5ae353aceb93f2368db8547
nvidiafb: Fix reversed DDC port

After I added some debugging printks I've found that code became a bit
confused because it believed that primary monitor is 1920x540, but later it
found in CRTC0's registers that panel size is 1920x1200 (Windows also agree
that 1920x1200 is primary monitor, and 1920x1080i secondary one).

When I applied attached patch then my monitor became as happy as it was
before I connected HDMI cable to secondary output.

Signed-off-by: Petr Vandrovec <vandrove@vc.cvut.cz>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/nvidia/nv_i2c.c