rpms/xorg-x11/devel xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks.patch, NONE, 1.1 xorg-x11.spec, 1.194, 1.195
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon May 16 22:09:38 UTC 2005
Author: krh
Update of /cvs/dist/rpms/xorg-x11/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10130
Modified Files:
xorg-x11.spec
Added Files:
xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks.patch
Log Message:
Add patch to enable dynamic clocks on PPC.
xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks.patch:
radeon.man | 5 ++++-
radeon_driver.c | 4 ++++
2 files changed, 8 insertions(+), 1 deletion(-)
--- NEW FILE xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks.patch ---
David Woodhouse reports that
xorg-x11-6.8.1-ati-radeon-dynamic-clocks-fix-2.patch
breaks X on ppc. Ben Herrenschmidt has a set of patches that should
fix the dynamic clocks issue properly and we should try those out once
FC5 opens up. For now though, we just enable dynamic clocks on PPC
which fix the problem. Patch by David.
Kristian Høgsberg <krh at redhat.com>
--- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks 2005-05-16 17:58:52.000000000 -0400
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2005-05-16 18:02:46.000000000 -0400
@@ -208,7 +208,11 @@
{ OPTION_SUBPIXEL_ORDER, "SubPixelOrder", OPTV_ANYSTR, {0}, FALSE },
#endif
{ OPTION_SHOWCACHE, "ShowCache", OPTV_BOOLEAN, {0}, FALSE },
+#ifdef __powerpc__
+ { OPTION_DYNAMIC_CLOCKS, "DynamicClocks", OPTV_BOOLEAN, {0}, TRUE },
+#else
{ OPTION_DYNAMIC_CLOCKS, "DynamicClocks", OPTV_BOOLEAN, {0}, FALSE },
+#endif
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};
--- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.man.xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks 2005-05-16 17:58:52.000000000 -0400
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.man 2005-05-16 17:58:52.000000000 -0400
@@ -492,7 +492,10 @@
based on usage. This can help reduce heat and increase battery
life by reducing power usage. Some users report reduced 3D preformance
with this enabled. The default is
-.B off.
+.B on
+on PowerPC and
+.B off
+on other architectures.
.TP
.SH SEE ALSO
Index: xorg-x11.spec
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11/devel/xorg-x11.spec,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -r1.194 -r1.195
--- xorg-x11.spec 13 May 2005 15:20:32 -0000 1.194
+++ xorg-x11.spec 16 May 2005 22:09:36 -0000 1.195
@@ -18,7 +18,7 @@
Name: xorg-x11
Version: 6.8.2
-Release: 31
+Release: 32
#Release: 1.FC3.31
%define build_mharris_mode 0
@@ -485,7 +485,7 @@
Patch9500: xorg-x11-6.8.3-deassert-ddc-lines.patch
Patch9501: xorg-x11-6.8.2-laptop-modes.patch
Patch9502: xorg-x11-6.8.2-xft-releasefile-crash.patch
-
+Patch9503: xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks.patch
# PATCHES NOMINATED FOR 6.8.3
# Of the patches only enabled for fedora-devel, some of them are
@@ -1159,6 +1159,7 @@
%patch9500 -p0 -b .deassert-ddc-lines
%patch9501 -p0 -b .laptop-modes.patch
%patch9502 -p0 -b .xorg-x11-6.8.2-xft-releasefile-crash
+%patch9503 -p0 -b .xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks
# Patches nominated for 6.8.3 in upstream bugzilla
%patch9700 -p0 -b .alpha-srel32-fix-fdo1765-2174
@@ -3615,6 +3616,11 @@
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon May 16 2005 Kristian Høgsberg <krh at redhat.com> 6.8.2-32
+- Add patch xorg-x11-6.8.2-ati-radeon-ppc-enable-dynamic-clocks.patch
+ from David Woodhouse to enable dynamic clocks for radeons by default
+ on PPC (#152648).
+
* Fri May 13 2005 Mike A. Harris <mharris at redhat.com> 6.8.2-31
- Added xorg-x11-6.8.2-ati-ragexl-ia64-avoidcpiofix.patch to workaround issue
on ia64 with CPIO disabled in ati Mach64 driver (#155609,155610). For
More information about the fedora-cvs-commits
mailing list