[PATCH] matroxfb: Set maxhipri to 0
authorVille Syrjälä <syrjala@sci.fi>
Mon, 7 Nov 2005 09:01:00 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:54 +0000 (07:53 -0800)
commitf73195ad7e68fb4e546350222d31e19ebc1d3578
treebed25e280cc43423c8108ff222164846eefba9da
parent5ea8d9d0384761251db10ecce7618f84b67d50d4
[PATCH] matroxfb: Set maxhipri to 0

The current init code sets hiprilvl to 0 and maxhipri to 5.  According to the
specs those values are illegal on both G200 and G400.  It also causes
distortions on the TV-out at least when CRTC2 is in YUV mode as is the case
with DirectFB.  This patch resets both values to 0.

Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/matrox/matroxfb_DAC1064.c