OSDN Git Service

drm/msm: Implement shutdown callback for adreno
authorAkhil P Oommen <akhilpo@codeaurora.org>
Mon, 19 Oct 2020 13:19:17 +0000 (18:49 +0530)
committerRob Clark <robdclark@chromium.org>
Wed, 4 Nov 2020 16:26:26 +0000 (08:26 -0800)
commita04c696c0a5494fb0ce5be4d9a5196e7f6dad4c6
treeb7de0d612584765ceed42a3990406ce2915819ac
parentab38764752e0786a04d34be8b09b49f159631ec9
drm/msm: Implement shutdown callback for adreno

Implement the shutdown callback for adreno gpu platform device
to safely shutdown it before a system reboot. This helps to avoid
futher transactions from gpu after the smmu is moved to bypass mode.

Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/adreno_device.c