Re: [PATCH] drm/rockchip: gem: add the lacks lock and trivial changes

2017-06-01 Thread Mark yao
On 2017年05月31日 10:14, Caesar Wang wrote: As the allocation and free buffer that need to add mutex lock for drm mm, but it lacks the locking on error path in rockchip_gem_iommu_map(). Also, the trivial changes like The comment should be placed in the kerneldoc and unused blank line. Signed-off-b

Re: [PATCH] drm/rockchip: gem: add the lacks lock and trivial changes

2017-05-30 Thread Mark yao
On 2017年05月31日 10:14, Caesar Wang wrote: As the allocation and free buffer that need to add mutex lock for drm mm, but it lacks the locking on error path in rockchip_gem_iommu_map(). Also, the trivial changes like The comment should be placed in the kerneldoc and unused blank line. Signed-off-b

[PATCH] drm/rockchip: gem: add the lacks lock and trivial changes

2017-05-30 Thread Caesar Wang
As the allocation and free buffer that need to add mutex lock for drm mm, but it lacks the locking on error path in rockchip_gem_iommu_map(). Also, the trivial changes like The comment should be placed in the kerneldoc and unused blank line. Signed-off-by: Caesar Wang --- drivers/gpu/drm/rockc