Hello community, here is the log from the commit of package xorg-x11-driver-video checked in at Thu Aug 9 23:08:54 CEST 2007. -------- --- xorg-x11-driver-video/xorg-x11-driver-video.changes 2007-08-06 15:26:33.000000000 +0200 +++ /mounts/work_src_done/STABLE/xorg-x11-driver-video/xorg-x11-driver-video.changes 2007-08-08 22:48:03.000000000 +0200 @@ -1,0 +2,13 @@ +Wed Aug 8 22:46:14 CEST 2007 - sndirsch@suse.de + +- xf86-video-ati-AGPFastWrite-risk-reduction.diff: + * Verbosely warn about the detrimental effects of the + AGPFastWrite option. (Bug #298465) + +------------------------------------------------------------------- +Wed Aug 8 16:46:27 CEST 2007 - sndirsch@suse.de + +- xf86-video-intel-xvmc_i915_i945.diff: + * basic XvMC support for i915/945 hardware (Bug #296982) + +------------------------------------------------------------------- New: ---- xf86-video-ati-AGPFastWrite-risk-reduction.diff xf86-video-intel-xvmc_i915_i945.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-driver-video.spec ++++++ --- /var/tmp/diff_new_pack.Y10820/_old 2007-08-09 23:07:49.000000000 +0200 +++ /var/tmp/diff_new_pack.Y10820/_new 2007-08-09 23:07:49.000000000 +0200 @@ -15,7 +15,7 @@ BuildRequires: Mesa-devel libdrm-devel pkgconfig xorg-x11-proto-devel xorg-x11-server-sdk URL: http://xorg.freedesktop.org/ Version: 7.2 -Release: 144 +Release: 146 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Servers/XF86_4 @@ -90,6 +90,8 @@ Patch33: bug-263199_radeon-autocrt.diff Patch34: radeon-Fix-CRT-on-RS400.diff Patch35: xf86-video-intel-commit-6f18300.diff +Patch36: xf86-video-intel-xvmc_i915_i945.diff +Patch37: xf86-video-ati-AGPFastWrite-risk-reduction.diff %description This package contains X.Org video drivers. @@ -108,6 +110,7 @@ pushd xf86-video-intel-* %patch -p0 %patch35 -p1 +%patch36 -p1 popd pushd xf86-video-ati-*/src %patch1 -p1 @@ -120,6 +123,7 @@ %patch33 -p1 %patch31 -p0 %patch34 -p1 +%patch37 -p1 popd pushd xf86-video-nv-*/src %patch3 -p6 @@ -270,6 +274,13 @@ %{_mandir}/man4/* %changelog +* Wed Aug 08 2007 - sndirsch@suse.de +- xf86-video-ati-AGPFastWrite-risk-reduction.diff: + * Verbosely warn about the detrimental effects of the + AGPFastWrite option. (Bug #298465) +* Wed Aug 08 2007 - sndirsch@suse.de +- xf86-video-intel-xvmc_i915_i945.diff: + * basic XvMC support for i915/945 hardware (Bug #296982) * Mon Aug 06 2007 - sndirsch@suse.de - xf86-video-intel-commit-6f18300.diff: * fixes 1680x1050 mode on TMDS-1 output again ++++++ xf86-video-ati-AGPFastWrite-risk-reduction.diff ++++++
From 5ee1e5256366535a76e0ed2fe8bd3032992bdde4 Mon Sep 17 00:00:00 2001 From: Luc Verhaegen
Date: Wed, 8 Aug 2007 22:17:23 +0200 Subject: [PATCH] AGPFastWrite risk reduction.
Actively warn the user in the log about the effects of AGPFastWrite and sanitise AGPFastWrite handling while we're here. --- src/radeon.h | 1 - src/radeon_dri.c | 44 ++++++++++++++++++++------------------------ 2 files changed, 20 insertions(+), 25 deletions(-) diff --git a/src/radeon.h b/src/radeon.h index a22e481..66db0cc 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -611,7 +611,6 @@ typedef struct { unsigned long gartOffset; unsigned char *AGP; /* Map */ int agpMode; - int agpFastWrite; CARD32 pciCommand; diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 11f7140..315b204 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -748,28 +748,6 @@ static Bool RADEONSetAgpMode(RADEONInfoP xf86DrvMsg(pScreen->myNum, from, "Using AGP %dx\n", info->agpMode); - info->agpFastWrite = 0; // Always off by default as it sucks - - from = xf86GetOptValInteger(info->Options, OPTION_AGP_FW, - &info->agpFastWrite) ? X_CONFIG : X_DEFAULT; - - if (info->agpFastWrite && - (vendor == PCI_VENDOR_AMD) && - (device == PCI_CHIP_AMD761)) { - - /* Disable fast write for AMD 761 chipset, since they cause - * lockups when enabled. - */ - info->agpFastWrite = FALSE; - from = X_DEFAULT; - xf86DrvMsg(pScreen->myNum, X_WARNING, - "[agp] Not enabling Fast Writes on AMD 761 chipset to avoid " - "lockups"); - } - - xf86DrvMsg(pScreen->myNum, from, "AGP Fast Writes %sabled\n", - info->agpFastWrite ? "en" : "dis"); - mode &= ~RADEON_AGP_MODE_MASK; if (is_v3) { /* only set one mode bit for AGPv3 */ @@ -788,8 +766,26 @@ static Bool RADEONSetAgpMode(RADEONInfoP } } - if (info->agpFastWrite) mode |= RADEON_AGP_FW_MODE; - else mode &= ~RADEON_AGP_FW_MODE; + /* AGP Fast Writes. + * TODO: take into account that certain agp modes don't support fast + * writes at all */ + mode &= ~RADEON_AGP_FW_MODE; /* Disable per default */ + if (xf86ReturnOptValBool(info->Options, OPTION_AGP_FW, FALSE)) { + xf86DrvMsg(pScreen->myNum, X_WARNING, + "WARNING: Using the AGPFastWrite option is not recommended.\n"); + xf86Msg(X_NONE, "\tThis option does not provide much of a noticable speed" + " boost, while it\n\twill probably hard lock your machine." + " All bets are off!\n"); + + /* Black list some host/AGP bridges. */ + if ((vendor == PCI_VENDOR_AMD) && (device == PCI_CHIP_AMD761)) + xf86DrvMsg(pScreen->myNum, X_PROBED, "Ignoring AGPFastWrite option " + "for the AMD 761 northbridge.\n"); + else { + xf86DrvMsg(pScreen->myNum, X_CONFIG, "Enabling AGP Fast Writes.\n"); + mode |= RADEON_AGP_FW_MODE; + } + } /* Don't mention this otherwise, so that people don't get funny ideas */ xf86DrvMsg(pScreen->myNum, X_INFO, "[agp] Mode 0x%08lx [AGP 0x%04x/0x%04x; Card 0x%04x/0x%04x]\n", -- 1.4.3.4 ++++++ xf86-video-intel-xvmc_i915_i945.diff ++++++ ++++ 7697 lines (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org