drm/tegra: Convert drm_atomic_helper_suspend/resume()
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 31 Jul 2018 20:07:05 +0000 (01:37 +0530)
committerThierry Reding <treding@nvidia.com>
Tue, 18 Sep 2018 14:53:54 +0000 (16:53 +0200)
commit53f1e0620b9b67f786b23c7e7fee96323bf2aa45
treeeca100f53378ee7bc1af15ac52bd960a7d8d3b14
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
drm/tegra: Convert drm_atomic_helper_suspend/resume()

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

With this conversion, tegra_drm_fb_suspend() and
tegra_drm_fb_resume() will not be used anymore.
Both of these functions can be removed.

Also, in tegra_drm struct's member state will not be
used anymore. So this can be removed forever.

Fixed one sparse warning.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Ajit Negi <ajitn.linux@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/fb.c