linux/drivers/gpu/drm/rockchip
Marc Zyngier 67dbeda8f4 drm/rockchip: Allow driver to be shutdown on reboot/kexec
commit 7f3ef5dedb upstream.

Leaving the DRM driver enabled on reboot or kexec has the annoying
effect of leaving the display generating transactions whilst the
IOMMU has been shut down.

In turn, the IOMMU driver (which shares its interrupt line with
the VOP) starts warning either on shutdown or when entering the
secondary kernel in the kexec case (nothing is expected on that
front).

A cheap way of ensuring that things are nicely shut down is to
register a shutdown callback in the platform driver.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Tested-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180805124807.18169-1-marc.zyngier@arm.com
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:27:44 +01:00
..
dw_hdmi-rockchip.c drm: rockchip/dw_hdmi-rockchip: improve for HDMI electrical test 2015-04-01 10:54:13 +01:00
Kconfig drm: rockchip: add reset controller dependency 2015-01-31 10:11:48 +10:00
Makefile
rockchip_drm_drv.c drm/rockchip: Allow driver to be shutdown on reboot/kexec 2018-11-21 09:27:44 +01:00
rockchip_drm_drv.h
rockchip_drm_fb.c drm/rockchip: only call drm_fb_helper_hotplug_event if fb_helper present 2015-07-13 13:50:52 +08:00
rockchip_drm_fb.h
rockchip_drm_fbdev.c drm/rockchip: Use new drm_fb_helper functions 2015-08-06 14:12:56 +02:00
rockchip_drm_fbdev.h
rockchip_drm_gem.c drm/rockchip: Respect page offset for PRIME mmap calls 2018-05-30 07:49:16 +02:00
rockchip_drm_gem.h drm/rockchip: Only alloc a kmap for fbdev gem object 2015-03-16 10:07:12 +08:00
rockchip_drm_vop.c drm/rockchip: Use CRTC vblank event interface 2015-12-02 10:22:21 +08:00
rockchip_drm_vop.h drm/rockchip: vop: support plane scale 2015-08-26 14:16:26 +08:00