diff options
| author | Thomas Zimmermann <[email protected]> | 2024-06-27 15:27:49 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-07-03 07:38:16 +0000 |
| commit | 4f3265b85fed99d279dac114a5aaf0c13353420a (patch) | |
| tree | 862e3e6c4efb1d99a4b8fff002048947e686e6fd /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/ast: Move mode-setting code into mode_set_nofb CRTC helper (diff) | |
| download | kernel-4f3265b85fed99d279dac114a5aaf0c13353420a.tar.gz kernel-4f3265b85fed99d279dac114a5aaf0c13353420a.zip | |
drm/ast: Handle primary-plane format setup in atomic_update
Several color registers are programmed in the DPMS code of the CRTC's
atomic_enable helper and the primary plane's atomic_update. It requires
the color format and the display mode.
Both code paths handle different cases: the DPMS's code will not be
executed if the color format changes without a full mode switch. The
plane's code only runs if the color format changes, but ignores
display-mode changes.
The color format is a property of the primary plane, so consolidate all
color-format code in the plane's atomic_update. Remove it from the DPMS
helper.
v2:
- clarify commit message (Jocelyn)
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
