drm/rockchip: gem: add the lacks lock and trivial changes
authorCaesar Wang <wxt@rock-chips.com>
Wed, 31 May 2017 02:14:23 +0000 (10:14 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Thu, 1 Jun 2017 06:48:22 +0000 (14:48 +0800)
commit2d7b56378d32b0cf006f8944cbba4046df45dd25
tree3ed64e9c5a0fe0b58bcc5d25d4fb20829b707c56
parente345da82bd6bdfa8492f80b3ce4370acfd868d95
drm/rockchip: gem: add the lacks lock and trivial changes

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 <wxt@rock-chips.com>
Reviewed-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1496196863-25738-1-git-send-email-wxt@rock-chips.com
drivers/gpu/drm/rockchip/rockchip_drm_drv.h
drivers/gpu/drm/rockchip/rockchip_drm_gem.c