Re: [git pull] drm fixes for 2.6.28 final
On Friday, 28 of November 2008, Jesse Barnes wrote: On Thursday, November 27, 2008 7:26 pm Dave Airlie wrote: Hi Linus, Please pull the 'drm-fixes' branch from ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes This larger than we wished patch, fixes a number of regressions reported. 1. vblank rework causes hangs on VT switch - fixes touches all drivers. To clarify here, only one userspace driver was actually silly enough to disable IRQs at VT leave time, xf86-video-intel. But the DRM fix applies to all drivers just to be on the safe side. It's a bit invasive, but ultimately a bit safer than leaving things. The patches from this push fix suspend on the Toshiba Portege R500, but resume from hibernation is still broken. It works in the minimal configuration (init=/bin/bash) 100% of the time. It also sort of works from the console, but then the second attempt to hibernate fails because some tasks cannot be frozen. 2.6.27.7 hibernates and resumes on the same box 100% of the time, from X too. I'll carry out bisection in the next few days. Thanks, Rafael - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [git pull] drm fixes for 2.6.28 final
On Saturday, 29 of November 2008, Rafael J. Wysocki wrote: On Friday, 28 of November 2008, Jesse Barnes wrote: On Thursday, November 27, 2008 7:26 pm Dave Airlie wrote: Hi Linus, Please pull the 'drm-fixes' branch from ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes This larger than we wished patch, fixes a number of regressions reported. 1. vblank rework causes hangs on VT switch - fixes touches all drivers. To clarify here, only one userspace driver was actually silly enough to disable IRQs at VT leave time, xf86-video-intel. But the DRM fix applies to all drivers just to be on the safe side. It's a bit invasive, but ultimately a bit safer than leaving things. The patches from this push fix suspend on the Toshiba Portege R500, but resume from hibernation is still broken. It works in the minimal configuration (init=/bin/bash) 100% of the time. It also sort of works from the console, but then the second attempt to hibernate fails because some tasks cannot be frozen. 2.6.27.7 hibernates and resumes on the same box 100% of the time, from X too. I'll carry out bisection in the next few days. OK, most probably the hibernation issue is related to ALSA, as hibernation works 100% of the time with snd_hda_intel unloaded. I've filed http://bugzilla.kernel.org/show_bug.cgi?id=12121 for this problem. Thanks, Rafael - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[git pull] drm fixes for 2.6.28 final
Hi Linus, Please pull the 'drm-fixes' branch from ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes This larger than we wished patch, fixes a number of regressions reported. 1. vblank rework causes hangs on VT switch - fixes touches all drivers. 2. i915 irq/msi code had various issues on various hw - including a screaming IRQ. 3. a suspend/resume regression on intel hw with DRI2 userspace. 4. A BUG_ON being hit. Dave. drivers/gpu/drm/drm_drv.c|2 + drivers/gpu/drm/drm_irq.c|4 +- drivers/gpu/drm/i915/i915_dma.c |7 + drivers/gpu/drm/i915/i915_drv.h | 11 ++ drivers/gpu/drm/i915/i915_gem.c | 74 + drivers/gpu/drm/i915/i915_irq.c | 293 ++ drivers/gpu/drm/i915/i915_opregion.c | 18 +-- drivers/gpu/drm/i915/i915_suspend.c |6 + drivers/gpu/drm/mga/mga_dma.c|8 + drivers/gpu/drm/mga/mga_irq.c|5 - drivers/gpu/drm/r128/r128_drv.c |6 + drivers/gpu/drm/r128/r128_drv.h |1 + drivers/gpu/drm/r128/r128_irq.c |2 +- drivers/gpu/drm/radeon/radeon_cp.c |6 + drivers/gpu/drm/radeon/radeon_irq.c |5 - drivers/gpu/drm/via/via_irq.c|1 - drivers/gpu/drm/via/via_map.c| 11 ++- include/drm/drmP.h |1 + 18 files changed, 262 insertions(+), 199 deletions(-) commit 461cba2d294fe83297edf8a6556912812903dce1 Author: Peng Li [EMAIL PROTECTED] Date: Tue Nov 18 12:39:02 2008 +0800 drm/i915: Save/restore HWS_PGA on suspend/resume It fixes suspend/resume failure of xf86-video-intel dri2 branch. As dri2 branch doesn't call I830DRIResume() to restore hardware status page anymore, we need to preserve this register across suspend/resume. Signed-off-by: Peng Li [EMAIL PROTECTED] Signed-off-by: Eric Anholt [EMAIL PROTECTED] Signed-off-by: Dave Airlie [EMAIL PROTECTED] commit 52440211dcdc52c0b757f8b34d122e11b12cdd50 Author: Keith Packard [EMAIL PROTECTED] Date: Tue Nov 18 09:30:25 2008 -0800 drm: move drm vblank initialization/cleanup to driver load/unload drm vblank initialization keeps track of the changes in driver-supplied frame counts across vt switch and mode setting, but only if you let it by not tearing down the drm vblank structure. Signed-off-by: Keith Packard [EMAIL PROTECTED] Signed-off-by: Dave Airlie [EMAIL PROTECTED] commit 6133047aa64d2fd5b3b79dff74f696ded45615b2 Author: Keith Packard [EMAIL PROTECTED] Date: Thu Nov 20 23:14:48 2008 -0800 drm/i915: execbuffer pins objects, no need to ensure they're still in the GTT Before we had the notion of pinning objects, we had a kludge around to make sure all of the objects were still resident in the GTT before we committed to executing a batch buffer. We don't need this any longer, and it sticks an error return in the middle of object domain computations that must be associated with a subsequent flush/invalidate emmission into the ring. Signed-off-by: Keith Packard [EMAIL PROTECTED] Signed-off-by: Eric Anholt [EMAIL PROTECTED] Signed-off-by: Dave Airlie [EMAIL PROTECTED] commit 05eff845a28499762075d3a72e238a31f4d2407c Author: Keith Packard [EMAIL PROTECTED] Date: Wed Nov 19 14:03:05 2008 -0800 drm/i915: Always read pipestat in irq_handler Because we write pipestat before iir, it's possible that a pipestat interrupt will occur between the pipestat write and the iir write. This leaves pipestat with an interrupt status not visible in iir. This may cause an interrupt flood as we never clear the pipestat event. Signed-off-by: Keith Packard [EMAIL PROTECTED] Signed-off-by: Eric Anholt [EMAIL PROTECTED] Signed-off-by: Dave Airlie [EMAIL PROTECTED] commit 2678d9d6964b29ecd1975870c7a850242b29bc5c Author: Keith Packard [EMAIL PROTECTED] Date: Thu Nov 20 22:54:54 2008 -0800 drm/i915: Subtract total pinned bytes from available aperture size The old code was wandering through the active list looking for pinned buffers; there may be other pinned buffers around. Fortunately, we keep a count of the total amount of pinned memory and can use that instead. Signed-off-by: Keith Packard [EMAIL PROTECTED] Signed-off-by: Eric Anholt [EMAIL PROTECTED] Signed-off-by: Dave Airlie [EMAIL PROTECTED] commit 28dfe52a6e8a1495067c4331358700a170d0ee86 Author: Eric Anholt [EMAIL PROTECTED] Date: Thu Nov 13 15:00:55 2008 -0800 drm/i915: Avoid BUG_ONs on VT switch with a wedged chipset. Instead, just warn that bad things are happening and do our best to clean up the mess without the GPU's help. Signed-off-by: Eric Anholt [EMAIL PROTECTED] Signed-off-by: Dave Airlie [EMAIL PROTECTED] commit cdfbc41f6d602fc0105fb2b4e0645cc1aa274c12 Author: Eric Anholt [EMAIL PROTECTED] Date: Tue Nov 4 15:50:30 2008 -0800 drm/i915:
Re: [git pull] drm fixes for 2.6.28 final
On Thursday, November 27, 2008 7:26 pm Dave Airlie wrote: Hi Linus, Please pull the 'drm-fixes' branch from ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes This larger than we wished patch, fixes a number of regressions reported. 1. vblank rework causes hangs on VT switch - fixes touches all drivers. To clarify here, only one userspace driver was actually silly enough to disable IRQs at VT leave time, xf86-video-intel. But the DRM fix applies to all drivers just to be on the safe side. It's a bit invasive, but ultimately a bit safer than leaving things. -- Jesse Barnes, Intel Open Source Technology Center - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [git pull] drm fixes for 2.6.28 final
On Fri, 2008-11-28 at 03:26 +, Dave Airlie wrote: Hi Linus, Please pull the 'drm-fixes' branch from ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes This larger than we wished patch, fixes a number of regressions reported. 1. vblank rework causes hangs on VT switch - fixes touches all drivers. 2. i915 irq/msi code had various issues on various hw - including a screaming IRQ. 3. a suspend/resume regression on intel hw with DRI2 userspace. 4. A BUG_ON being hit. I can confirm this fixes suspend/resume for me: 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) Thanks a lot guys. Harvey - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel