diff options
| author | Maxime Ripard <[email protected]> | 2021-05-07 15:05:09 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2021-05-24 12:42:22 +0000 |
| commit | 5b006000423667ef0f55721fc93e477b31f22d28 (patch) | |
| tree | ad29645d8a019c747bacb1564a82cbde874813bf /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/vc4: crtc: Lookup the encoder from the register at boot (diff) | |
| download | kernel-5b006000423667ef0f55721fc93e477b31f22d28.tar.gz kernel-5b006000423667ef0f55721fc93e477b31f22d28.zip | |
drm/vc4: hdmi: Prevent clock unbalance
Since we fixed the hooks to disable the encoder at boot, we now have an
unbalanced clk_disable call at boot since we never enabled them in the
first place.
Let's mimic the state of the hardware and enable the clocks at boot if
the controller is enabled to get the use-count right.
Cc: <[email protected]> # v5.10+
Fixes: 09c438139b8f ("drm/vc4: hdmi: Implement finer-grained hooks")
Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Dave Stevenson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
