summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-01-31 10:21:08 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2025-02-03 14:01:11 +0100
commitc81202906b5cd56db403e95db3d29c9dfc8c74c1 (patch)
treedd63e141df0d31f28b44e18fde065aefc84f0a97 /tools/perf/scripts/python/exported-sql-viewer.py
parent255b3ff65d8ffd70db8c29dda6c8765d58fea2b6 (diff)
drm/ast: Find VBIOS mode from regular display size
The ast driver looks up supplied display modes from an internal list of display modes supported by the VBIOS. Do not use the crtc_-prefixed display values from struct drm_display_mode for looking up the VBIOS mode. The fields contain raw values that the driver programs to hardware. They are affected by display settings like double-scan or interlace. Instead use the regular vdisplay and hdisplay fields for lookup. As the programmed values can now differ from the values used for lookup, set struct drm_display_mode.crtc_vdisplay and .crtc_hdisplay from the VBIOS mode. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250131092257.115596-9-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions