bochs: use drm_fb_helper_set_suspend_unlocked in suspend/resume
authorPeter Wu <peter@lekensteyn.nl>
Thu, 6 Sep 2018 22:18:07 +0000 (00:18 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 Sep 2018 05:10:37 +0000 (07:10 +0200)
commit70c0ef7bd39991cdf3f190c9545c4ecdd6899a74
treed9e104d0c624c6319eddb0abcc3a559f0f58cea2
parenteae06120f1974e1a4cab0f80f4b07d27eb80ab32
bochs: use drm_fb_helper_set_suspend_unlocked in suspend/resume

The "initialized" member is going away. suspend/resume still works (even
if bochsfb_create is forced to fail).

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Link: http://patchwork.freedesktop.org/patch/msgid/20180906221810.20170-2-peter@lekensteyn.nl
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/bochs/bochs_drv.c