aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2020-09-26 17:04:55 +0000
committerPaul Cercueil <[email protected]>2020-09-26 19:53:27 +0000
commit33700f6f7d9f6b4e1e6df933ef7fd388889c662c (patch)
tree2b5354b62e5e04df0b396f6f2281d1b45b0a4404 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentfbdev: sbuslib: remove compat_alloc_user_space usage (diff)
downloadkernel-33700f6f7d9f6b4e1e6df933ef7fd388889c662c.tar.gz
kernel-33700f6f7d9f6b4e1e6df933ef7fd388889c662c.zip
drm/ingenic: Reset pixclock rate when parent clock rate changes
Old Ingenic SoCs can overclock very well, up to +50% of their nominal clock rate, whithout requiring overvolting or anything like that, just by changing the rate of the main PLL. Unfortunately, all clocks on the system are derived from that PLL, and when the PLL rate is updated, so is our pixel clock. To counter that issue, we make sure that the panel is in VBLANK before the rate change happens, and we will then re-set the pixel clock rate afterwards, once the PLL has been changed, to be as close as possible to the pixel rate requested by the encoder. v2: Add comment about mutex usage Signed-off-by: Paul Cercueil <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions