OSDN Git Service

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)
commit9d5cbf5fe46e350715389d89d0c350d83289a102
tree896c350a68b0242550023f027868f46810e37d1b
parent20925fe84463ef87a01b0b536768c39544eae89b
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