Skip to contentSkip to conversation

2.4.19pre2 radeonfb

PATCH In review Peter Horton 2 participants 2 messages Apr 2, 2002 – Apr 3, 2002 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.19pre2 radeonfb

A small patch that fixes some issues with the Radeon frame buffer driver.

1) Pulled updated soft reset code from XFree86 (stopped my VE hanging the machine when acceleration was enabled).

2) Added MTRR for frame buffer region.

3) Fixed a couple of buglets in the acceleration code. The driver now enables acceleration by default (acceleration support for 8bpp mode only).

P.

drivers/video/radeon.h +2 -0
diff -ur linux.vanilla/drivers/video/radeon.h linux/drivers/video/radeon.h
@@ -379,6 +379,7 @@
 #define SC_TOP_LEFT                            0x16EC  
 #define SC_BOTTOM_RIGHT                        0x16F0  
 #define SRC_SC_BOTTOM_RIGHT                    0x16F4  
+#define RB2D_DSTCACHE_MODE                     0x3428
 #define RB2D_DSTCACHE_CTLSTAT		       0x342C
 #define LVDS_GEN_CNTL			       0x02d0
 #define LVDS_PLL_CNTL			       0x02d4
@@ -395,6 +396,7 @@
 #define RADEON_BIOS_6_SCRATCH		       0x0028
 #define RADEON_BIOS_7_SCRATCH		       0x002c
 
+#define HDP_SOFT_RESET                             (1 << 26)
 
 #define CLK_PIN_CNTL                               0x0001
 #define PPLL_CNTL                                  0x0002
drivers/video/radeonfb.c +36 -13

154 lines not on this page · raw message

#1 lore raw
Quoted 5 lines · Peter Horton

A small patch that fixes some issues with the Radeon frame buffer driver.

1) Pulled updated soft reset code from XFree86 (stopped my VE hanging the machine when acceleration was enabled).

Quoted 7 lines

2) Added MTRR for frame buffer region.

3) Fixed a couple of buglets in the acceleration code. The driver now enables acceleration by default (acceleration support for 8bpp mode only).

P.

Does this only have an effect on the framebuffer stuff or also on xfree86?
I for example don't use the framebuffer but I was wondering if this would solve some bugs?