Author: pebender
Date: Sun Jan 11 13:39:01 2009
New Revision: 4226

Added:
     
trunk/gar-minimyth/script/kernel-2.6.26/linux/files/linux-2.6.26.8-intel_g4x_stolen_memory_count_fix.patch
Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
    trunk/gar-minimyth/script/kernel-2.6.26/linux/Makefile
    trunk/gar-minimyth/script/kernel-2.6.26/linux/checksums

Log:
- Applied
    
<http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commit;h=2052746fc8397130c120f0194a89938b0b62b6cb>
   to the 2.6.26 kernel (already in the 2.6.27 and newer kernels) to fix
   the problem mentioned here
   <http://lists.freedesktop.org/archives/xorg/2008-October/039591.html>.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Sun Jan 11  
13:39:01 2009
@@ -60,6 +60,11 @@
      - Fixed a bug that could cause perl init scripts to create the wrong  
value
        of MM_HARDWARE_KERNEL_MODULES.
      - Added missing tfp410.so Xorg module needed by the intel Xorg driver.
+    - Applied
+       
<http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commit;h=2052746fc8397130c120f0194a89938b0b62b6cb>
+      to the 2.6.26 kernel (already in the 2.6.27 and newer kernels) to fix
+      the problem mentioned here
+       
<http://lists.freedesktop.org/archives/xorg/2008-October/039591.html>.

  Updated packages
      Updated disk/hdparm.

Modified: trunk/gar-minimyth/script/kernel-2.6.26/linux/Makefile
==============================================================================
--- trunk/gar-minimyth/script/kernel-2.6.26/linux/Makefile      (original)
+++ trunk/gar-minimyth/script/kernel-2.6.26/linux/Makefile      Sun Jan 11  
13:39:01 2009
@@ -6,6 +6,7 @@
  CONFIGFILE = $(DISTNAME)-$(GARCH_FAMILY)-$(GARCH).config
  DISTFILES = $(DISTNAME).tar.bz2 $(CONFIGFILE)
  PATCHFILES  = $(DISTNAME)-perl.patch.gar
+PATCHFILES += $(DISTNAME)-intel_g4x_stolen_memory_count_fix.patch
  PATCHFILES += $(DISTNAME)-bug_11154.patch
  PATCHFILES += $(DISTNAME)-atl1e.patch
  PATCHFILES += $(DISTNAME)-atl2_2.0.4.patch

Modified: trunk/gar-minimyth/script/kernel-2.6.26/linux/checksums
==============================================================================
--- trunk/gar-minimyth/script/kernel-2.6.26/linux/checksums     (original)
+++ trunk/gar-minimyth/script/kernel-2.6.26/linux/checksums     Sun Jan 11  
13:39:01 2009
@@ -1,5 +1,6 @@
  05dd0d4f8f110b4219ae6ec7a36c046d  download/linux-2.6.26.8.tar.bz2
  5521436953de9d6759045aa398b6a77a  download/linux-2.6.26.8-perl.patch.gar
+dbd309d3742c48fbbe29d5cdcb1f508b   
download/linux-2.6.26.8-intel_g4x_stolen_memory_count_fix.patch
  9b794d2edc263ccb043163010f12f15e  download/linux-2.6.26.8-bug_11154.patch
  1de334cc0f8a314a9e38c7b8c0ab18de  download/linux-2.6.26.8-atl1e.patch
  686a0f1bfb990a59ec76cdded6ccdea1  download/linux-2.6.26.8-atl2_2.0.4.patch

Added:  
trunk/gar-minimyth/script/kernel-2.6.26/linux/files/linux-2.6.26.8-intel_g4x_stolen_memory_count_fix.patch
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/kernel-2.6.26/linux/files/linux-2.6.26.8-intel_g4x_stolen_memory_count_fix.patch
       
Sun Jan 11 13:39:01 2009
@@ -0,0 +1,36 @@
+diff -Naur linux-2.6.26.8-old/drivers/char/agp/intel-agp.c  
linux-2.6.26.8-new/drivers/char/agp/intel-agp.c
+--- linux-2.6.26.8-old/drivers/char/agp/intel-agp.c    2008-11-10  
11:18:24.000000000 -0800
++++ linux-2.6.26.8-new/drivers/char/agp/intel-agp.c    2009-01-11  
13:06:26.000000000 -0800
+@@ -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_IGD_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_IGD_HB)
+
+ extern int agp_memory_reserved;
+
+@@ -523,8 +523,10 @@
+               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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to