]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor: Implement acquire/release for reset
authorThierry Reding <treding@nvidia.com>
Mon, 18 Feb 2019 16:01:54 +0000 (17:01 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 22 Mar 2019 13:20:07 +0000 (14:20 +0100)
commita44e04dd0ed68a0a5d903762314ff16bd160b948
tree2a6e4a504d86bf9df2788a4e87ca7731b6b59f47
parent6b7f982bf7940116f645c5ce657810679557f3dc
drm/tegra: sor: Implement acquire/release for reset

By implementing the acquire/release protocol, the SOR reset can be
shared with other drivers that also adhere to this protocol, such as the
PMC driver that uses the same reset as part of the powergate and -ungate
implementation using generic power domains.

Runtime PM makes sure that the operations are executed in the right
order, and the reset core has error handling and WARNs in place to make
sure the acquire/release protocol is followed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c