aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-tve.c
diff options
context:
space:
mode:
authorSteve Longerbeam <[email protected]>2014-12-19 02:00:24 +0000
committerPhilipp Zabel <[email protected]>2015-01-07 18:15:03 +0000
commiteb10d6355532def3a74aaabd115e2373cca70b9d (patch)
tree5f45725fe9b3a883d209977683f2db6600db06cf /drivers/gpu/drm/imx/imx-tve.c
parentimx-drm: ipuv3-crtc: Implement mode_fixup (diff)
downloadkernel-eb10d6355532def3a74aaabd115e2373cca70b9d.tar.gz
kernel-eb10d6355532def3a74aaabd115e2373cca70b9d.zip
imx-drm: encoder prepare/mode_set must use adjusted mode
The encoder ->prepare() and ->mode_set() methods need to use the hw adjusted mode, not the original mode. Signed-off-by: Steve Longerbeam <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-tve.c')
-rw-r--r--drivers/gpu/drm/imx/imx-tve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c
index a729f4f7074c..b63601d04601 100644
--- a/drivers/gpu/drm/imx/imx-tve.c
+++ b/drivers/gpu/drm/imx/imx-tve.c
@@ -307,8 +307,8 @@ static void imx_tve_encoder_prepare(struct drm_encoder *encoder)
}
static void imx_tve_encoder_mode_set(struct drm_encoder *encoder,
- struct drm_display_mode *mode,
- struct drm_display_mode *adjusted_mode)
+ struct drm_display_mode *orig_mode,
+ struct drm_display_mode *mode)
{
struct imx_tve *tve = enc_to_tve(encoder);
unsigned long rounded_rate;