]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: add shutdown support for display platform_driver
authorKrishna Manikandan <mkrishn@codeaurora.org>
Mon, 1 Jun 2020 11:03:22 +0000 (16:33 +0530)
committerRob Clark <robdclark@chromium.org>
Tue, 18 Aug 2020 15:09:01 +0000 (08:09 -0700)
commit64db16e458d7d16b2721917521785870cd9c8e02
tree896c350a68b0242550023f027868f46810e37d1b
parent5b38872673f72c048e8e38714054ac86609575fb
drm/msm: add shutdown support for display platform_driver

Define shutdown callback for display drm driver,
so as to disable all the CRTCS when shutdown
notification is received by the driver.

This change will turn off the timing engine so
that no display transactions are requested
while mmu translations are getting disabled
during reboot sequence.

Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Changes in v2:
- Remove NULL check from msm_pdev_shutdown (Stephen Boyd)
- Change commit text to reflect when this issue
  was uncovered (Sai Prakash Ranjan)

Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_drv.c