diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-01-31 10:21:13 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-02-03 14:01:14 +0100 |
commit | d86f6beed067309eeea8bf7c91d967f310db98df (patch) | |
tree | c50fa50ab25fe4dad56d89c2385fe2ec8d0de044 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c337d4c1de88bda6da88477a390c2f7ba87466b6 (diff) |
drm/ast: astdp: Rework display-mode setting
ASTDP requires a mode index, depending on the resolution. Move the
look-up code from ast_dp_set_mode() into a separate helper. Inline
the rest of the function into its only caller. Rename the variable
names and register constants to match the programming manual.
As before, the mode-index lookup still happens during the update's
atomic commit. Right now, there's no way of doing it during the atomic
check. The lookup requires the VBIOS mode, which is not available at
the atomic check's invocation. At least warn now if the mode index
could not be found.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250131092257.115596-14-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions