drm/armada: use mode_valid to validate the adjusted mode
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 14 Jul 2018 10:17:49 +0000 (11:17 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 22 Jun 2019 10:58:20 +0000 (11:58 +0100)
commitd880fa6627483822bee2ebf170901ad51623b9a2
tree4aeae71a2ed28fc80fbc8ec45293183c32c336ed
parent1ba246f2fd2f6e6647b29e362a7d8c235e7fe9a7
drm/armada: use mode_valid to validate the adjusted mode

Validate the adjusted mode in the CRTC mode_fixup() call to ensure that
any encoder or bridge doesn't supply us with a mode we can't support.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/armada/armada_crtc.c