]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/ast: Only look up VBIOS mode on full modesets
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 31 Jan 2025 09:21:16 +0000 (10:21 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 3 Feb 2025 13:01:16 +0000 (14:01 +0100)
commit0c5f9cb67897fc48aef8883d21a8d74d11a2f8e3
treec80066eda0da77e541c16af8ad9d7edba5a38946
parentec1d13fa90d6b760d01f6054faa9a0884af6c4d3
drm/ast: Only look up VBIOS mode on full modesets

Only look up the VBIOS mode during atomic_check if the display mode
changes. For page flips, the previous settings still apply. Avoids the
runtime overhead of looking up the VBIOS mode on each page flip.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250131092257.115596-17-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c