Skip to content

Commit

Permalink
drm/exynos: clear node object type at gem unmap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YoungJun Cho authored and Inki Dae committed Mar 20, 2013
1 parent 067ed33 commit 5efc1d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/exynos/exynos_drm_g2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5efc1d1

Please sign in to comment.