diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-07-11 18:02:06 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-03-31 11:59:32 +0200 |
commit | dd7fa6d88796b1aaa511abbac38963aa1c443443 (patch) | |
tree | c348c2875eb554c32d5bcde00e04b2c9e0ea130b /drivers/gpu/drm/imx/ipuv3-crtc.c | |
parent | d7de390bff7ad0f551fc0e409543e98db86a65df (diff) | |
download | lwn-dd7fa6d88796b1aaa511abbac38963aa1c443443.tar.gz lwn-dd7fa6d88796b1aaa511abbac38963aa1c443443.zip |
drm/imx: Add support for interlaced scanout
This patch allows interlaced frame buffer scanout for interlaced output
via HDMI or TV-Encoder.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/ipuv3-crtc.c')
-rw-r--r-- | drivers/gpu/drm/imx/ipuv3-crtc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-crtc.c b/drivers/gpu/drm/imx/ipuv3-crtc.c index 98551e356e12..09d6f98f4cbd 100644 --- a/drivers/gpu/drm/imx/ipuv3-crtc.c +++ b/drivers/gpu/drm/imx/ipuv3-crtc.c @@ -202,7 +202,8 @@ static int ipu_crtc_mode_set(struct drm_crtc *crtc, return ipu_plane_mode_set(ipu_crtc->plane[0], crtc, mode, crtc->primary->fb, 0, 0, mode->hdisplay, mode->vdisplay, - x, y, mode->hdisplay, mode->vdisplay); + x, y, mode->hdisplay, mode->vdisplay, + mode->flags & DRM_MODE_FLAG_INTERLACE); } static void ipu_crtc_handle_pageflip(struct ipu_crtc *ipu_crtc) |