drm: atmel-hlcdc: check display mode validity in crtc->mode_fixup()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 5 Jan 2016 17:27:49 +0000 (18:27 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 14 Apr 2016 07:17:28 +0000 (09:17 +0200)
commit5ac44c8b061653119456921e2e4aa78668b9f3d9
tree686495b1844dbf9efd5f5fd4396aed6ed7972011
parent17a8e03e7e97d3445ec60a16a234149ca51e96fb
drm: atmel-hlcdc: check display mode validity in crtc->mode_fixup()

Move the adjusted display mode check into ->mode_fixup().

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c