nasty little bug in radeon driver

2003-03-07 Thread Enrik Berkhan
Hi,

after having some problems with an R300 based ATI card (dotclocks seemed
to be too slowed by a factor of about 1.17, text mode restoral didn't
work), I've found the following:

Index: radeon_reg.h
===
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h,v
retrieving revision 1.25
diff -u -r1.25 radeon_reg.h
--- radeon_reg.h2003/02/07 18:08:59 1.25
+++ radeon_reg.h2003/03/07 08:34:09
@@ -879,7 +879,7 @@
 #   define RADEON_P2PLL_REF_DIV_MASK0x03ff
 #   define RADEON_P2PLL_ATOMIC_UPDATE_R (1  15) /* same as _W */
 #   define RADEON_P2PLL_ATOMIC_UPDATE_W (1  15) /* same as _R */
-#   define R300_PPLL_REF_DIV_ACC_MASK   (0x3ff  18)
+#   define R300_PPLL_REF_DIV_ACC_MASK   (0x3ff  18)
 #   define R300_PPLL_REF_DIV_ACC_SHIFT  18
 #define RADEON_PALETTE_DATA 0x00b4
 #define RADEON_PALETTE_30_DATA  0x00b8

Now it works for me.

Cheers,
Enrik
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: nasty little bug in radeon driver

2003-03-07 Thread Alan Hourihane
On Fri, Mar 07, 2003 at 09:47:42AM +0100, Enrik Berkhan wrote:
 Hi,
 
 after having some problems with an R300 based ATI card (dotclocks seemed
 to be too slowed by a factor of about 1.17, text mode restoral didn't
 work), I've found the following:
 
 Index: radeon_reg.h
 ===
 RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h,v
 retrieving revision 1.25
 diff -u -r1.25 radeon_reg.h
 --- radeon_reg.h  2003/02/07 18:08:59 1.25
 +++ radeon_reg.h  2003/03/07 08:34:09
 @@ -879,7 +879,7 @@
  #   define RADEON_P2PLL_REF_DIV_MASK0x03ff
  #   define RADEON_P2PLL_ATOMIC_UPDATE_R (1  15) /* same as _W */
  #   define RADEON_P2PLL_ATOMIC_UPDATE_W (1  15) /* same as _R */
 -#   define R300_PPLL_REF_DIV_ACC_MASK   (0x3ff  18)
 +#   define R300_PPLL_REF_DIV_ACC_MASK   (0x3ff  18)
  #   define R300_PPLL_REF_DIV_ACC_SHIFT  18
  #define RADEON_PALETTE_DATA 0x00b4
  #define RADEON_PALETTE_30_DATA  0x00b8
 
 Now it works for me.

Thanks,

I've committed your fix to the CVS.

Alan.
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: nasty little bug in radeon driver

2003-03-07 Thread fmcc
...
  Now it works for me.

 Thanks,

 I've committed your fix to the CVS.


Quick question -- I posed a patch to
xc/programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c on Monday
which makes X build properly on FreeBSD alpha - I asked if there were a
better way to submit patches and I'm still wondering if I need to do
something to get this patch accepted and put in... I've checked via cvsweb
and the cvs repository doesn't have my patch...

Is there someone in particular that I should contact about the patch?

Fred Clift

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: nasty little bug in radeon driver

2003-03-07 Thread Alex Deucher
send it to [EMAIL PROTECTED] and/or [EMAIL PROTECTED]

Alex

--- [EMAIL PROTECTED] wrote:
 ...
   Now it works for me.
 
  Thanks,
 
  I've committed your fix to the CVS.
 
 
 Quick question -- I posed a patch to
 xc/programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c on Monday
 which makes X build properly on FreeBSD alpha - I asked if there were
 a
 better way to submit patches and I'm still wondering if I need to do
 something to get this patch accepted and put in... I've checked via
 cvsweb
 and the cvs repository doesn't have my patch...
 
 Is there someone in particular that I should contact about the patch?
 
 Fred Clift
 
 ___
 Devel mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/devel


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel