Skip to content
Commit 33a8eb8d authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: dc: Implement runtime PM



Use runtime PM to clock-gate, assert reset and powergate the display
controller. This ties in nicely with atomic DPMS in that a runtime PM
reference is taken before a pipe is enabled and dropped after it has
been shut down.

To make sure this works, make sure to only ever update planes on active
CRTCs, otherwise register accesses to a clock-gated and reset CRTC will
hang the CPU.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 2ccb396e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment