]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: Reordered the komeda's de-init functions
authorAyan Kumar Halder <Ayan.Halder@arm.com>
Wed, 28 Aug 2019 15:00:19 +0000 (15:00 +0000)
committerAyan kumar halder <ayan.halder@arm.com>
Wed, 28 Aug 2019 16:55:40 +0000 (17:55 +0100)
commit518e67569690855956c4c19c7b1dcf4765a2de49
tree19facc74aac2a435c4e730f1de9374d454d8fcbf
parent9ad1647f3e39b8016e324510c1b16a3e48b3d5ee
drm/komeda: Reordered the komeda's de-init functions

The de-init routine should be doing the following in order:-
1. Unregister the drm device
2. Shut down the crtcs - failing to do this might cause a connector leakage
See the 'commit 0206acddfc74 ("drm/arm/malidp: Ensure that the crtcs are
shutdown before removing any encoder/connector")'
3. Disable the interrupts
4. Unbind the components
5. Free up DRM mode_config info

Changes from v1:-
1. Re-ordered the header files inclusion
2. Rebased on top of the latest drm-misc-fixes

Signed-off-by:. Ayan Kumar Halder <Ayan.Halder@arm.com>
Reviewed-by: Mihail Atanassov <mihail.atanassov@arm.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Link: https://patchwork.freedesktop.org/patch/327606/
drivers/gpu/drm/arm/display/komeda/komeda_kms.c