]> git.baikalelectronics.ru Git - kernel.git/commit
imx-drm: ipuv3-crtc: Implement mode_fixup
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 19 Dec 2014 02:00:23 +0000 (18:00 -0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 7 Jan 2015 18:15:02 +0000 (19:15 +0100)
commit0f09d8ae94ccd3254a6bf2f32ec2557cb8c2b4a7
treedeb17aa619a2700c55290c448e69662c7b63db72
parenta3fd8c620abc686546c272af203637fcd81cdb5b
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