diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2005-01-13 22:52:24 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2005-01-13 22:52:24 +0000 |
commit | 31179eebc6675c7d631952e4d10aaeb89f142f00 (patch) | |
tree | 757be619fcbf67d31d680bb3b524073b33d427eb /x11-servers/xorg-server/files/patch-radeon_driver.c | |
parent | 603a6bcc570d559bd9bcf8eb5acdd8f707a9f9a8 (diff) | |
download | ports-31179eebc6675c7d631952e4d10aaeb89f142f00.tar.gz ports-31179eebc6675c7d631952e4d10aaeb89f142f00.zip |
[1] Add i810 driver to AMD64 package.
[2] Put the manpages from section 4 under 4x. For example, you can do
"man 4x vga" to get the X vga(4x) manpage, still do man 4 cirrus to get
cirrus(4x), and man -a vga to get both vga manpages.
[3] Apply several important-looking fixes to ATI drivers from the stable branch:
- Fix mode setting with Mach64 on some laptops.
- Don't crash with mach64 for some PCI configurations
- Improve hang detection on r128s. (may improve speed in DRI, too)
- Avoid a hang on server regen on r128 with DRI.
- Fix the DynamicClocks support, which could have caused hangs with DRI on
original Radeons.
PR: [2] ports/25576
Submitted by: [2] fanf
Requested by: [1] peter
Obtained from: [3] XORG-6_8-branch
Notes
Notes:
svn path=/head/; revision=126370
Diffstat (limited to 'x11-servers/xorg-server/files/patch-radeon_driver.c')
-rw-r--r-- | x11-servers/xorg-server/files/patch-radeon_driver.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/files/patch-radeon_driver.c b/x11-servers/xorg-server/files/patch-radeon_driver.c new file mode 100644 index 000000000000..7361e77a5eaf --- /dev/null +++ b/x11-servers/xorg-server/files/patch-radeon_driver.c @@ -0,0 +1,19 @@ +--- programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig Tue Aug 24 17:30:41 2004 ++++ programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c Thu Jan 13 14:34:17 2005 +@@ -4471,10 +4471,12 @@ + + RADEONSave(pScrn); + +- if (xf86ReturnOptValBool(info->Options, OPTION_DYNAMIC_CLOCKS, FALSE)) { +- RADEONSetDynamicClock(pScrn, 1); +- } else { +- RADEONSetDynamicClock(pScrn, 0); ++ if ((!info->IsSecondary) && info->IsMobility) { ++ if (xf86ReturnOptValBool(info->Options, OPTION_DYNAMIC_CLOCKS, FALSE)) { ++ RADEONSetDynamicClock(pScrn, 1); ++ } else { ++ RADEONSetDynamicClock(pScrn, 0); ++ } + } + + if (info->FBDev) { |