"Ville Syrj�l�" <[EMAIL PROTECTED]> wrote:

Here's my matroxfb G400 clock patch if someone want's to try it. It's
against 2.4.22.

I don't seem to be able to build matroxfb_DAC1064.c after applying the
patch. I've scanned the code and the reason is not obvious and think that it
is something to do with one of my .config setting. The error is:

matroxfb_DAC1064.c: In function `g400_preinit':
matroxfb_DAC1064.c:982: warning: passing arg 1 of `DAC1064_calcclock' makes
pointer from integer without a cast
matroxfb_DAC1064.c:982: warning: passing arg 3 of `DAC1064_calcclock' makes
integer from pointer without a cast
matroxfb_DAC1064.c:982: error: too few arguments to function
`DAC1064_calcclock'

and the I2C and MATROX settings are:

CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_PHILIPSPAR=m
CONFIG_I2C_ELV=m
CONFIG_I2C_VELLEMAN=m
# CONFIG_SCx200_I2C is not set
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ELEKTOR=m
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PROC=y
CONFIG_I2C_PARPORT=m
CONFIG_FB_MATROX=y
CONFIG_FB_MATROX_MILLENIUM=y
CONFIG_FB_MATROX_MYSTIQUE=y
CONFIG_FB_MATROX_G450=y
CONFIG_FB_MATROX_G100=y
CONFIG_FB_MATROX_I2C=y
CONFIG_FB_MATROX_MAVEN=y
CONFIG_FB_MATROX_PROC=y
CONFIG_FB_MATROX_MULTIHEAD=y

The setup values are read from the EEPROM so it should work on a normal
G400 and a G400 MAX. MAX should have faster clocks. I'd really like to see
df_dok results for a MAX.

You need to boot with "video=matrox:init" to initialize the primary card.
I also tried the patch with another PCI card as the primary one and the
G400 woke up fine and the clocks were correct.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/




-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to