imx-drm: ipuv3-crtc: Implement mode_fixup
commit0c460a55dd97b639202d6152979669c8951522cd
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 19 Dec 2014 02:00:23 +0000 (18 18:00 -0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 7 Jan 2015 18:15:02 +0000 (7 19:15 +0100)
treedeb17aa619a2700c55290c448e69662c7b63db72
parentd490f455f4ac3d97fbf109deae1e017b26acffda
imx-drm: ipuv3-crtc: Implement mode_fixup

Ask the IPU display interface, via ipu_di_adjust_videomode(), to
adjust a video mode to meet any DI restrictions. The function takes
a subsystem independent videomode, so the drm_display_mode must be
converted to videomode first, and then the adjusted mode converted
back to a drm_display_mode.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-crtc.c