linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CG3 frame buffer is broaken (2.6.12 onwards) again [PATCH]
@ 2005-11-22 15:17 Mark Fortescue
  2005-11-30  0:26 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Fortescue @ 2005-11-22 15:17 UTC (permalink / raw)
  To: adaplas, wli, zippel; +Cc: linux-fbdev-devel, sparclinux, kbuild-devel

Hi all,

A cut and past error regarding the CG3 frame buffer needs to be fixed. It
also affects Creator/Creator3D/Elite3D.

The fix for linux-2.6.14.2 is to patch drivers/video/Kconfig:
######################################################################
#
# Linux 2.6.14 CG3 Fix from mark@mtfhpc.demon.co.uk
#
######################################################################
diff -ruNp linux-2.6.14.2/drivers/video/Kconfig linux-2.6.14.2-p01/drivers/video/Kconfig
--- linux-2.6.14.2/drivers/video/Kconfig	2005-11-14 12:53:33.000000000 +0000
+++ linux-2.6.14.2-p01/drivers/video/Kconfig	2005-11-15 18:13:29.000000000 +0000
@@ -577,6 +577,12 @@ config FB_SUN3
 	bool "Sun3 framebuffer support"
 	depends on (FB = y) && (SUN3 || SUN3X) && BROKEN
 
+config FB_SBUS
+	bool "SBUS and UPA framebuffers"
+	depends on (FB = y) && (SPARC32 || SPARC64)
+	help
+	  Say Y if you want support for SBUS or UPA based frame buffer device.
+
 config FB_BW2
 	bool "BWtwo support"
 	depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3)
@@ -590,6 +596,7 @@ config FB_BW2
 config FB_CG3
 	bool "CGthree support"
 	depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3)
+	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
 	select FB_SOFT_CURSOR
@@ -1288,15 +1295,10 @@ config FB_AU1100
 
 source "drivers/video/geode/Kconfig"
 
-config FB_SBUS
-	bool "SBUS and UPA framebuffers"
-	depends on (FB = y) && (SPARC32 || SPARC64)
-	help
-	  Say Y if you want support for SBUS or UPA based frame buffer device.
-
 config FB_FFB
 	bool "Creator/Creator3D/Elite3D support"
 	depends on FB_SBUS && SPARC64
+	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
 	select FB_SOFT_CURSOR

---------------------------------------------------------------------
The patch should also work for 2.6.12 and 2.6.13 kernels but might need
tweeking.
 
Regards
	Mark Fortescue.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CG3 frame buffer is broaken (2.6.12 onwards) again [PATCH]
  2005-11-22 15:17 CG3 frame buffer is broaken (2.6.12 onwards) again [PATCH] Mark Fortescue
@ 2005-11-30  0:26 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-11-30  0:26 UTC (permalink / raw)
  To: mark; +Cc: adaplas, wli, zippel, linux-fbdev-devel, sparclinux, kbuild-devel

From: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Date: Tue, 22 Nov 2005 15:17:04 +0000 (GMT)

>  config FB_FFB
>  	bool "Creator/Creator3D/Elite3D support"
>  	depends on FB_SBUS && SPARC64
> +	select FB_CFB_FILLRECT
>  	select FB_CFB_COPYAREA
>  	select FB_CFB_IMAGEBLIT
>  	select FB_SOFT_CURSOR

Unnecessary, the ffb.c driver does accelerated fillrect, and
therefore does not references the cfb_fillrect software
rendering code.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-30  0:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22 15:17 CG3 frame buffer is broaken (2.6.12 onwards) again [PATCH] Mark Fortescue
2005-11-30  0:26 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).