drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
authorHsin-Yi Wang <hsinyi@chromium.org>
Wed, 29 May 2019 10:25:54 +0000 (18:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:54:32 +0000 (09:54 +0200)
commit4462499d5198909edab2bb914ac9ee3b4a1ec5e1
tree36191c51bc4e2a8b5fce6af749aa018e2db30d2d
parent6042bfc5f38e33db0feb9873ec4d8e6ba044d251
drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver

[ Upstream commit cf49b24ffa62766f8f04cd1c4cf17b75d29b240a ]

shutdown all CRTC when unbinding drm driver.

Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_drv.c