Re: [PATCH v4 2/5] drm/fb-helper: Add drm_fb_helper_set_suspend_lock()

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 10:25:22PM +0200, Noralf Trønnes wrote: > This adds a function that also takes the console lock before calling > fb_set_suspend() in contrast to drm_fb_helper_set_suspend() which is > a plain wrapper around fb_set_suspend(). > Resume is run asynchronously using a worker if t

[PATCH v4 2/5] drm/fb-helper: Add drm_fb_helper_set_suspend_lock()

2016-08-22 Thread Noralf Trønnes
This adds a function that also takes the console lock before calling fb_set_suspend() in contrast to drm_fb_helper_set_suspend() which is a plain wrapper around fb_set_suspend(). Resume is run asynchronously using a worker if the console lock is already taken. This is modelled after the i915 driver