diff options
author | YoungJun Cho <yj44.cho@samsung.com> | 2013-03-11 19:56:17 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-03-20 19:09:10 +0900 |
commit | 5efc1d1b53ba60a89ce8269880ed02eddecd1add (patch) | |
tree | 9179805feb06fb653e5e624c5707aa58c4457651 /drivers/gpu | |
parent | 067ed3311f7961bef67551fa5115dbadf9a035f4 (diff) |
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.c | 1 |
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; |