rpms/kernel/devel linux-2.6-agp-intel-cantiga-fix.patch, NONE, 1.1 kernel.spec, 1.1046, 1.1047
Dave Airlie
airlied at fedoraproject.org
Tue Oct 14 23:37:39 UTC 2008
- Previous message: rpms/selinux-policy/devel modules-minimum.conf, 1.1, 1.2 modules-targeted.conf, 1.103, 1.104 policy-20080710.patch, 1.61, 1.62 selinux-policy.spec, 1.722, 1.723
- Next message: rpms/viewvc/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 viewvc.spec, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: airlied
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21550
Modified Files:
kernel.spec
Added Files:
linux-2.6-agp-intel-cantiga-fix.patch
Log Message:
- fix cantiga hopefully.
linux-2.6-agp-intel-cantiga-fix.patch:
--- NEW FILE linux-2.6-agp-intel-cantiga-fix.patch ---
From: Eric Anholt <eric at anholt.net>
On the GM45, the amount of stolen memory mapped to the GTT was underestimated,
even though we had 508KB more available since the GTT doesn't take from
stolen memory. On the non-GM45 G4X, we overestimated how much stolen was
mapped to the GTT by 4KB, resulting in GPU page faults when that page was
accessed.
This update requires a corresponding update to xf86-video-intel to work
correctly.
---
drivers/char/agp/intel-agp.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index 016fdf0..f1fe749 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -54,8 +54,7 @@
agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965Q_HB || \
agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_HB || \
agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GM_HB || \
- agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GME_HB || \
- agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB)
+ agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GME_HB)
#define IS_G33 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G33_HB || \
agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q35_HB || \
@@ -63,7 +62,8 @@
#define IS_G4X (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGD_E_HB || \
agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q45_HB || \
- agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G45_HB)
+ agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G45_HB || \
+ agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB)
extern int agp_memory_reserved;
@@ -525,8 +525,10 @@ static void intel_i830_init_gtt_entries(void)
size += 4;
} else if (IS_G4X) {
/* On 4 series hardware, GTT stolen is separate from graphics
- * stolen, ignore it in stolen gtt entries counting */
- size = 0;
+ * stolen, ignore it in stolen gtt entries counting. However,
+ * 4KB of the stolen memory doesn't get mapped to the GTT.
+ */
+ size = 4;
} else {
/* On previous hardware, the GTT size was just what was
* required to map the aperture.
--
1.5.6.5
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1046
retrieving revision 1.1047
diff -u -r1.1046 -r1.1047
--- kernel.spec 14 Oct 2008 19:35:11 -0000 1.1046
+++ kernel.spec 14 Oct 2008 23:37:08 -0000 1.1047
@@ -637,6 +637,7 @@
# nouveau + drm fixes
Patch1800: nvidia-agp.patch
+Patch1801: linux-2.6-agp-intel-cantiga-fix.patch
Patch1810: drm-next.patch
Patch1811: drm-modesetting-radeon.patch
Patch1812: drm-modesetting-i915.patch
@@ -1212,8 +1213,9 @@
ApplyPatch linux-2.6-net-tulip-interrupt.patch
# Nouveau DRM + drm fixes
-ApplyPatch drm-next.patch
ApplyPatch nvidia-agp.patch
+ApplyPatch linux-2.6-agp-intel-cantiga-fix.patch
+ApplyPatch drm-next.patch
ApplyPatch drm-modesetting-radeon.patch
ApplyPatch drm-modesetting-i915.patch
ApplyPatch drm-nouveau.patch
@@ -1811,6 +1813,9 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Wed Oct 15 2008 Dave Airlie <airlied at redhat.com>
+- fix cantiga hopefully.
+
* Tue Oct 14 2008 Kyle McMartin <kyle at redhat.com>
- nuke iwlwifi-use-dma_alloc_coherent.patch, should be fixed properly now.
- Previous message: rpms/selinux-policy/devel modules-minimum.conf, 1.1, 1.2 modules-targeted.conf, 1.103, 1.104 policy-20080710.patch, 1.61, 1.62 selinux-policy.spec, 1.722, 1.723
- Next message: rpms/viewvc/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 viewvc.spec, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list