aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-02-04 13:26:38 +0000
committerThomas Zimmermann <[email protected]>2025-02-11 07:28:30 +0000
commit8c3b7d278ffc4d30b0809d1b7066a94963a0d2ca (patch)
treeba02705f1db30bb38a3edebf8b191b09502eb568 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentdrm/ast: astdp: Add connector state (diff)
downloadkernel-8c3b7d278ffc4d30b0809d1b7066a94963a0d2ca.tar.gz
kernel-8c3b7d278ffc4d30b0809d1b7066a94963a0d2ca.zip
drm/ast: astdp: Inline mode-index calculation
Programming the astdp transmitter chip requires a magic value for individual modes. Inline the helper for calculating the value into its only caller (i.e., the encoder's atomic_mode_set). With further refactoring, the atomic check will be able to detect invalid modes before attempting to program them. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions