diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-06-27 17:27:49 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-07-03 09:38:16 +0200 |
commit | 4f3265b85fed99d279dac114a5aaf0c13353420a (patch) | |
tree | 862e3e6c4efb1d99a4b8fff002048947e686e6fd /net/unix/af_unix.c | |
parent | fd63bf978b7b0f106c72b6392436f4223b16ab85 (diff) |
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 <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240627153638.8765-5-tzimmermann@suse.de
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions