Re: [v1] drm/msm: add shutdown support for display platform_driver

From: Sai Prakash Ranjan
Date: Thu May 28 2020 - 04:58:11 EST


Hi Krishna,

On 2020-05-28 14:08, Krishna Manikandan wrote:
Define shutdown callback for display drm driver,
so as to disable all the CRTCS when shutdown
notification is received by the driver.


Would be nice to add some more context for adding this shutdown callback
something like below:

If the hardware is still accessing memory after SMMU translation is disabled
as part of smmu shutdown callback, then the IOVAs(I/O virtual address) which
it was using will go on the bus as the physical addresses which will result
in unknown crashes (NoC/interconnect errors on QCOM SoCs).

PS: Credits for description: Robin Murphy

Thanks,
Sai

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation