Revision: 5500
Author: pebender
Date: Thu Sep 17 20:32:48 2009
Log: - Added the patch missing from the linux 2.6.30 via drm vblank fix  
commit.


http://code.google.com/p/minimyth/source/detail?r=5500

Added:
   
/trunk/gar-minimyth/script/kernel-2.6.30/linux/files/linux-2.6.30.7-via_vblank.patch

=======================================
--- /dev/null
+++  
/trunk/gar-minimyth/script/kernel-2.6.30/linux/files/linux-2.6.30.7-via_vblank.patch
     
Thu Sep 17 20:32:48 2009
@@ -0,0 +1,23 @@
+diff -Naur linux-2.6.30.7-old/drivers/gpu/drm/via/via_irq.c  
linux-2.6.30.7-new/drivers/gpu/drm/via/via_irq.c
+--- linux-2.6.30.7-old/drivers/gpu/drm/via/via_irq.c   2009-09-15  
10:46:05.000000000 -0700
++++ linux-2.6.30.7-new/drivers/gpu/drm/via/via_irq.c   2009-09-17  
09:16:26.000000000 -0700
+@@ -183,7 +183,7 @@
+       }
+
+       status = VIA_READ(VIA_REG_INTERRUPT);
+-      VIA_WRITE(VIA_REG_INTERRUPT, status & VIA_IRQ_VBLANK_ENABLE);
++      VIA_WRITE(VIA_REG_INTERRUPT, status | VIA_IRQ_VBLANK_ENABLE);
+
+       VIA_WRITE8(0x83d4, 0x11);
+       VIA_WRITE8(0x83d5, VIA_READ8(0x83d5) | 0x30);
+@@ -194,6 +194,10 @@
+ void via_disable_vblank(struct drm_device *dev, int crtc)
+ {
+       drm_via_private_t *dev_priv = dev->dev_private;
++      u32 status;
++
++      status = VIA_READ(VIA_REG_INTERRUPT);
++      VIA_WRITE(VIA_REG_INTERRUPT, status & ~VIA_IRQ_VBLANK_ENABLE);
+
+       VIA_WRITE8(0x83d4, 0x11);
+       VIA_WRITE8(0x83d5, VIA_READ8(0x83d5) & ~0x30);

--~--~---------~--~----~------------~-------~--~----~
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