I applied patch and it works now with X running, but 'diagonal stripes' bug 
still remains.
Also, there were compilation errors regarding unknown "DC_FLUSH" define. I 
changed DC_FLUSH to RB2D_DC_FLUSH and RB3D_DC_FLUSH and driver compiled 
successfully.

Wednesday 25 January 2006 18:08 You wrote:
> Claudio Ciccani wrote:
> > Michel Dänzer wrote:
> > 
> >> On Wed, 2006-01-25 at 01:56 +0200, Ivan Daniluk wrote:
> >>
> >>> It works if 'radeon' driver from xorg is not loaded. Otherwise it 
> >>> shows black screen and freeze.
> >>
> >>
> >>
> >> Based on this little information, my first guess would be that this is
> >> because the X driver changes the MC_FB_LOCATION register.
> >>
> > 
> > I have attached a patch to solve this problem; it also attempts to fix 
> > the "diagonal stripes" bug.
> > Apply with -p0.
> > 
> > 
> 
> Sorry, there was an error in the previous patch.
> 
> -- 
> Regards,
>       Claudio Ciccani
> 
> [EMAIL PROTECTED]
> http://directfb.org
> http://sf.net/projects/php-directfb
> 

-- 
Ivan Daniluk,
technical director,
Profit Solution Software,
Kiev, Ukraine.
--- r100-orig.c	2006-01-25 18:45:14.000000000 +0200
+++ r100.c	2006-01-25 18:45:37.000000000 +0200
@@ -490,7 +490,7 @@
 #define r100_enter2d( rdrv, rdev ) {                                       \
      if ((rdev)->write_3d) {                                               \
           r100_waitfifo( rdrv, rdev, 2 );                                  \
-          r100_out32( (rdrv)->mmio_base, RB3D_DSTCACHE_CTLSTAT, DC_FLUSH );\
+          r100_out32( (rdrv)->mmio_base, RB3D_DSTCACHE_CTLSTAT, RB3D_DC_FLUSH );\
           r100_out32( (rdrv)->mmio_base, WAIT_UNTIL, WAIT_3D_IDLECLEAN );  \
           (rdev)->write_3d = false;                                        \
      }                                                                     \
@@ -500,7 +500,7 @@
 #define r100_enter3d( rdrv, rdev ) {                                       \
      if ((rdev)->write_2d) {                                               \
           r100_waitfifo( rdrv, rdev, 2 );                                  \
-          r100_out32( (rdrv)->mmio_base, RB2D_DSTCACHE_CTLSTAT, DC_FLUSH );\
+          r100_out32( (rdrv)->mmio_base, RB2D_DSTCACHE_CTLSTAT, RB2D_DC_FLUSH );\
           r100_out32( (rdrv)->mmio_base, WAIT_UNTIL, WAIT_2D_IDLECLEAN );  \
           (rdev)->write_2d = false;                                        \
      }                                                                     \
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to