projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e480f6
)
drm/exynos: ipp: fix wrong index referencing a config element
author
Hyungwon Hwang
<human.hwang@samsung.com>
Tue, 9 Jun 2015 03:45:14 +0000
(12:45 +0900)
committer
Inki Dae
<daeinki@gmail.com>
Fri, 19 Jun 2015 15:32:57 +0000
(
00:32
+0900)
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>
drivers/gpu/drm/exynos/exynos_drm_ipp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_ipp.c
b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
index f594dd78963aa5f10953f7733cfd90e6a5661d6e..ef98afb3055d3fb1763ebe11c231b7b19fc2dc7f 100644
(file)
--- 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);
/**