]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rcar-du: Convert drm_atomic_helper_suspend/resume()
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 18 Sep 2018 16:39:03 +0000 (22:09 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Oct 2018 13:59:01 +0000 (15:59 +0200)
commitdfa186a1b545086e4a06894657b689b6b29f89d8
tree1376aabb17426d786ed4aa6d98c5ba5916fa6d26
parent0bef70b3726a9d7f1344c992a5820490e88d0a2c
drm/rcar-du: Convert drm_atomic_helper_suspend/resume()

convert drm_atomic_helper_suspend/resume() to use
drm_mode_config_helper_suspend/resume().

remove suspend_state field from the rcar_du_device
structure as it is no more required.

With this conversion, also drm_fbdev_cma_set_suspend_unlocked()
will left with no consumer. So this function can be removed.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180918163903.GA11172@jordon-HP-15-Notebook-PC
drivers/gpu/drm/drm_fb_cma_helper.c
drivers/gpu/drm/rcar-du/rcar_du_drv.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
include/drm/drm_fb_cma_helper.h