diff options
| author | Thomas Zimmermann <[email protected]> | 2025-02-04 13:26:38 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-02-11 07:28:30 +0000 |
| commit | 8c3b7d278ffc4d30b0809d1b7066a94963a0d2ca (patch) | |
| tree | ba02705f1db30bb38a3edebf8b191b09502eb568 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/ast: astdp: Add connector state (diff) | |
| download | kernel-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
