drm/ast: Move connector mode_valid function to CRTC
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Feb 2022 14:15:37 +0000 (15:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Feb 2022 12:38:02 +0000 (13:38 +0100)
commit6abbad2c00bd26531c203f29190d14ad9eebfc0e
tree14304b1b372ff3786b0635569936fe3b5783fa55
parent9285f09e8f96496604cf0755a3d7e91478120609
drm/ast: Move connector mode_valid function to CRTC

The tests in ast_mode_valid() verify the correct resolution for the
supplied mode. This is a limitation of the CRTC, so move the function
to the CRTC helpers. No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220207141544.30015-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c