drm/rockchip: shutdown drm subsystem on shutdown
From: Vicente Bergas <vicencb@...> Date: Sun, 5 Aug 2018 16:09:11 +0200
Commit-Message
As explained by Robin Murphy: > the IOMMU shutdown disables paging, so if the VOP is still > scanning out then that will result in whatever IOVAs it was using now going > straight out onto the bus as physical addresses. We had a more radical approach before in commit 7f3ef5dedb14 ("drm/rockchip: Allow driver to be shutdown on reboot/kexec") but that resulted in new warnings and oopses on shutdown on rk3399 chromeos devices. So second try is resurrecting Vicentes shutdown change which should achieve the same result but in a less drastic way. Fixes: 63238173b2fa ("Revert drm/rockchip: Allow driver to be shutdown on reboot/kexec") Cc: Jeffy Chen <jeffy.chen@...> Cc: Robin Murphy <robin.murphy@...> Cc: Marc Zyngier <marc.zyngier@...> Cc: Brian Norris <briannorris@...> Cc: Doug Anderson <dianders@...> Cc: stable@vger.kernel.org Suggested-by: JeffyChen <jeffy.chen@...> Suggested-by: Robin Murphy <robin.murphy@...> Signed-off-by: Vicente Bergas <vicencb@...> [adapted commit message to explain the history] Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 9 +++++++++ 1 file changed, 9 insertions(+)
Statistics
- 9 lines added
- 0 lines removed