[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#720329: xserver-xorg-video-radeon: Screen keeping black at start but for the cursor



On Don, 2014-02-27 at 13:30 +0100, Samuel Hym wrote:
> 
> > Does adding radeon.agpmode=1 or radeon.agpmode=-1 to the kernel 
> > command line avoid the crashes? 
> 
> I added radeon.agpmode=-1, X has now been running fine for 30 minutes or so.
> With radeon.agpmode=1 I got no noticeable change of behaviour.
> 
> Thank you very much for your swift and precise help!

No worries.


BTW, if you or anyone else having stability issues with radeon KMS in
AGP mode could try if the attached kernel patch makes a difference, that
would be interesting.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer
diff --git a/arch/powerpc/include/asm/agp.h b/arch/powerpc/include/asm/agp.h
index 416e12c..eb34fa5 100644
--- a/arch/powerpc/include/asm/agp.h
+++ b/arch/powerpc/include/asm/agp.h
@@ -2,9 +2,12 @@
 #define _ASM_POWERPC_AGP_H
 #ifdef __KERNEL__
 
+#include <asm/cacheflush.h>
 #include <asm/io.h>
 
-#define map_page_into_agp(page)
+#define map_page_into_agp(page)	\
+	flush_dcache_range((unsigned long)page_address(page), \
+			   (unsigned long)page_address(page) + PAGE_SIZE)
 #define unmap_page_from_agp(page)
 #define flush_agp_cache() mb()
 

Reply to: