aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorHyungwon Hwang <human.hwang@samsung.com>2015-06-09 12:45:14 +0900
committerInki Dae <daeinki@gmail.com>2015-06-20 00:32:57 +0900
commitb224fa9f25963736407982423e7aa7160222b1f0 (patch)
treed3d94b983618a004745bf5f1643f5c9250f953e4 /drivers/gpu/drm
parentdrm/exynos: dsi: check whether dsi is enabled before sending data (diff)
downloadlinux-dev-b224fa9f25963736407982423e7aa7160222b1f0.tar.xz
linux-dev-b224fa9f25963736407982423e7aa7160222b1f0.zip
drm/exynos: ipp: fix wrong index referencing a config element
Config depends on the opreation. So it must be referenced by an operation id, not a property id. Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_ipp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
index f594dd78963a..ef98afb3055d 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
@@ -459,8 +459,7 @@ static int ipp_validate_mem_node(struct drm_device *drm_dev,
unsigned int bpp;
int i;
- /* The property id should already be varified */
- ipp_cfg = &c_node->property.config[m_node->prop_id];
+ ipp_cfg = &c_node->property.config[m_node->ops_id];
num_plane = drm_format_num_planes(ipp_cfg->fmt);
/**