]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: fixup interrupted overlay switch off calls
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 30 Nov 2009 14:55:49 +0000 (15:55 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 30 Nov 2009 17:50:57 +0000 (09:50 -0800)
commit9bedb9743fd906e4160468663ee6e1bbdc4412b8
tree07b956e5128d6761fd64da9c26973c1f7d271afc
parent12ca45fea91cfbb09df828bea958b47348caee6d
drm/i915: fixup interrupted overlay switch off calls

When switching to interruptible sleeps in the overlay code, I've
forgotten to recover from interruptions at one site.  This
resulted in the overlay still running when it should have been
switched off. This in turn caused a hang on resume because it
tried to disable the (not-running) overlay in preparation for the
resume modeset.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=24980
Tested-by: maximlevitsky@gmail.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_overlay.c