]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/fb-helper: Stop using trylocks in force_restore
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Jul 2015 11:18:41 +0000 (13:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Aug 2015 12:13:01 +0000 (14:13 +0200)
commitdd908c864d9a8347216291b4b61074777458373a
tree6d1737b3d5cb3c182307d976c9a1bd71f408e858
parentc50bfd08d60cefbe1714c4a53b1c325982858549
drm/fb-helper: Stop using trylocks in force_restore

Since the panic handling is gone this is only used for force-restoring
the fbdev/fbcon from sysrq, and that's done with a work item. No need
any more to do trylocks, we can just do normal locking.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_fb_helper.c