summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorYoungJun Cho <yj44.cho@samsung.com>2013-03-11 19:56:17 +0900
committerInki Dae <inki.dae@samsung.com>2013-03-20 19:09:10 +0900
commit5efc1d1b53ba60a89ce8269880ed02eddecd1add (patch)
tree9179805feb06fb653e5e624c5707aa58c4457651 /drivers/gpu
parent067ed3311f7961bef67551fa5115dbadf9a035f4 (diff)
downloadlinux-3.10-5efc1d1b53ba60a89ce8269880ed02eddecd1add.tar.gz
linux-3.10-5efc1d1b53ba60a89ce8269880ed02eddecd1add.tar.bz2
linux-3.10-5efc1d1b53ba60a89ce8269880ed02eddecd1add.zip
drm/exynos: clear node object type at gem unmap
This patch clears node object type in G2D unmap cmdlist. The obj_type of cmdlist node has to be cleared in g2d_unmap_cmdlist_gem() so that the node can be reused in g2d_map_cmdlist_gem(). Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_g2d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 28b71125189..095520fdf5e 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@ -576,6 +576,7 @@ static void g2d_unmap_cmdlist_gem(struct g2d_data *g2d,
false);
node->handles[i] = 0;
+ node->obj_type[i] = 0;
}
node->map_nr = 0;