aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-07-28 12:41:00 +0000
committerThomas Zimmermann <[email protected]>2022-07-29 14:01:47 +0000
commit877507bb954e7d0a4f2d3ba9957127a83c03e447 (patch)
treebefbafd7ec19cbd8692de0289103f9b4605a47b0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/mgag200: Provide per-device callbacks for BMC synchronization (diff)
downloadkernel-877507bb954e7d0a4f2d3ba9957127a83c03e447.tar.gz
kernel-877507bb954e7d0a4f2d3ba9957127a83c03e447.zip
drm/mgag200: Provide per-device callbacks for PIXPLLC
Move the PIXPLLC code into per-model source files and wire it up with per-model callbacks. No functional changes. The PIXPLLC pixel-clock is part of the CRTC, but really separate hardware that varies with each model of the G200. Move the PIXPLLC code for each model into the per-model source file and call it from CRTC helpers via device functions. This allows to remove struct mgag200_pll and the related code. The new callbacks behave like the CRTC's atomic_check and atomic_enable functions. v3: * clean up style Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Tested-by: Jocelyn Falempe <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions