drm/tegra: dc: Add powergate support
Both display controllers are in their own power partition. Currently the driver relies on the assumption that these partitions are on (which is the hardware default). However some bootloaders may disable them, so the driver must make sure to turn them back on to avoid hangs. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
@@ -101,6 +101,7 @@ struct tegra_dc {
|
||||
spinlock_t lock;
|
||||
|
||||
struct drm_crtc base;
|
||||
int powergate;
|
||||
int pipe;
|
||||
|
||||
struct clk *clk;
|
||||
|
Reference in New Issue
Block a user