]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Hold CRTC lock whilst freezing the planes
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 May 2014 08:44:40 +0000 (09:44 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 May 2014 13:06:35 +0000 (15:06 +0200)
commit0cc76d04c6883bdcf0d61a8ac1909e85c5fc2c7a
treebb72cd31748004792dda870e2e7e02373f4c578b
parente55ccf32260c7e11a9cbd782cd973adeff43ac50
drm/i915: Hold CRTC lock whilst freezing the planes

Daniel keeps on ramping up the warning level of the DRM and our display
core to make it complain whenever the locking rules are not followed.
This caught

commit 440e46522af2e83aa25f81c7ddc5975939fe60d0
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Tue Mar 26 09:25:45 2013 -0700

    drm/i915: enable VT switchless resume v3

introducing an unlocked access to the CRTC whilst disabling it for
suspend.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78114
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c