On Friday 10 June 2005 18:10, Vladimir Dergachev wrote:
> 
> On Fri, 10 Jun 2005, Aapo Tahkola wrote:
> 
> >> Someone, I believe it was Aapo, said that they see white lines across 
the
> >> screen when the framerate is fairly high. I didn't see this up until 
yesterday
> >> when I had to change from my 9600pro to a 9600XT (I killed the card 
moving
> >> it between machines somehow).
> >
> > Are you using SiS based motherboard by any chance?
> > Following patch should fix this at the cost of some speed...
> 
> I just committed the following patch to r300_reg.h:

Thanks. By the way, I confirmed that fglrx sets those bits in 0x180 on the 
following cards:
- 0x4E44 (R300)
- 0x4E50 (RV350)
- 0x4A49 (R420)
... i.e. pretty much across the board. However, there are many other 
registers that it touches, and I couldn't test how it affects lockups yet.

> ===================================================================
> RCS file: /cvsroot/r300/r300_driver/r300/r300_reg.h,v
> retrieving revision 1.41
> diff -u -r1.41 r300_reg.h
> --- r300_reg.h  8 Jun 2005 15:05:24 -0000       1.41
> +++ r300_reg.h  10 Jun 2005 16:09:22 -0000
> @@ -1,6 +1,27 @@
>   #ifndef _R300_REG_H
>   #define _R300_REG_H
> 
> +#define R300_MC_INIT_MISC_LAT_TIMER    0x180
> +#      define R300_MC_MISC__MC_CPR_INIT_LAT_SHIFT      0
> +#      define R300_MC_MISC__MC_VF_INIT_LAT_SHIFT       4
> +#      define R300_MC_MISC__MC_DISP0R_INIT_LAT_SHIFT   8
> +#      define R300_MC_MISC__MC_DISP1R_INIT_LAT_SHIFT   12
> +#      define R300_MC_MISC__MC_FIXED_INIT_LAT_SHIFT    16
> +#      define R300_MC_MISC__MC_E2R_INIT_LAT_SHIFT      20
> +#      define R300_MC_MISC__MC_SAME_PAGE_PRIO_SHIFT    24
> +#      define R300_MC_MISC__MC_GLOBW_INIT_LAT_SHIFT    24

Is the last 24 supposed to be a 28?

> +
> +
> +#define R300_MC_INIT_GFX_LAT_TIMER     0x154
> +#      define R300_MC_MISC__MC_G3D0R_INIT_LAT_SHIFT    0
> +#      define R300_MC_MISC__MC_G3D1R_INIT_LAT_SHIFT    4
> +#      define R300_MC_MISC__MC_G3D2R_INIT_LAT_SHIFT    8
> +#      define R300_MC_MISC__MC_G3D3R_INIT_LAT_SHIFT    12
> +#      define R300_MC_MISC__MC_TX0R_INIT_LAT_SHIFT     16
> +#      define R300_MC_MISC__MC_TX1R_INIT_LAT_SHIFT     20
> +#      define R300_MC_MISC__MC_GLOBR_INIT_LAT_SHIFT    24
> +#      define R300_MC_MISC__MC_GLOBW_FULL_LAT_SHIFT    0

Is the last 0 supposed to be a 28?

cu,
Nicolai

Attachment: pgp7aXAA21s8A.pgp
Description: PGP signature

Reply via email to