aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2021-07-14 14:22:33 +0000
committerThomas Zimmermann <[email protected]>2021-08-08 18:13:50 +0000
commit2dd040946ecfa5434fb0084fb5b5c2ba55639ea1 (patch)
treecea2eb16ede8d3529e10dbb70740cb249d99553b /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/mgag200: Introduce separate variable for PLL S parameter (diff)
downloadkernel-2dd040946ecfa5434fb0084fb5b5c2ba55639ea1.tar.gz
kernel-2dd040946ecfa5434fb0084fb5b5c2ba55639ea1.zip
drm/mgag200: Store values (not bits) in struct mgag200_pll_values
The fields in struct mgag200_pll_values currently hold the bits of each register. Store the PLL values instead and let the PLL-update code figure out the bits for each register. Until now, the compute function either stored plain values or register bits in struct mgag200_pll_values. The rsp update function used the values as-is. This made it very hard to correctly interpret the stored values (e.g., for logging or debugging). With the cleanup, the stored values now have a clear meaning. v2: * add a bit more context in the commit message (Sam) Signed-off-by: Thomas Zimmermann <[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_irq.c')
0 files changed, 0 insertions, 0 deletions