diff options
author | Vicente Bergas <[email protected]> | 2019-04-02 13:37:53 +0200 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2019-04-18 10:28:30 +0200 |
commit | b8f9d7f37b6af829c34c49d1a4f73ce6ed58e403 (patch) | |
tree | 466100e9120ab0b0dc0457a0ad82dd3be47eafb2 /scripts/gdb/linux/utils.py | |
parent | debcd8f954be2b1f643e76b2400bc7c3d12b4594 (diff) |
drm/rockchip: shutdown drm subsystem on shutdown
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 <[email protected]>
Cc: Robin Murphy <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Doug Anderson <[email protected]>
Cc: [email protected]
Suggested-by: JeffyChen <[email protected]>
Suggested-by: Robin Murphy <[email protected]>
Signed-off-by: Vicente Bergas <[email protected]>
[adapted commit message to explain the history]
Signed-off-by: Heiko Stuebner <[email protected]>
Tested-by: Brian Norris <[email protected]>
Tested-by: Douglas Anderson <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions