drm/ast: Validate DRM display modes against VBIOS modes
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 31 Jan 2025 09:21:11 +0000 (10:21 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 3 Feb 2025 13:01:13 +0000 (14:01 +0100)
commit2e90349bf44b30478351be4805a640b3bf5accb9
tree9abea356c3e0df8e72c1c4e2a2496dcc0617d1b3
parent517e28d40c9fab2e96b7a88787007954efd6cf50
drm/ast: Validate DRM display modes against VBIOS modes

Test DRM display modes against the list of modes supported by the
VBIOS. The helper will respect the supported-modes flags in struct
ast_device. Hence only DRM display modes supported by the VBIOS
will be reported; without the current duplication of this information.

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