summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/parallel-display.c
diff options
context:
space:
mode:
authorSteve Longerbeam <slongerbeam@gmail.com>2014-12-18 18:00:24 -0800
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-01-07 19:15:03 +0100
commiteb10d6355532def3a74aaabd115e2373cca70b9d (patch)
tree5f45725fe9b3a883d209977683f2db6600db06cf /drivers/gpu/drm/imx/parallel-display.c
parent0c460a55dd97b639202d6152979669c8951522cd (diff)
downloadblackbird-op-linux-eb10d6355532def3a74aaabd115e2373cca70b9d.tar.gz
blackbird-op-linux-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 <steve_longerbeam@mentor.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/parallel-display.c')
-rw-r--r--drivers/gpu/drm/imx/parallel-display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/parallel-display.c b/drivers/gpu/drm/imx/parallel-display.c
index 88cf7ca1e886..5e83e007080f 100644
--- a/drivers/gpu/drm/imx/parallel-display.c
+++ b/drivers/gpu/drm/imx/parallel-display.c
@@ -130,8 +130,8 @@ static void imx_pd_encoder_commit(struct drm_encoder *encoder)
}
static void imx_pd_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)
{
}
OpenPOWER on IntegriCloud