drm/lima: use drm_gem_(un)lock_reservations
authorQiang Yu <yuq825@gmail.com>
Thu, 10 Oct 2019 14:01:51 +0000 (22:01 +0800)
committerQiang Yu <yuq825@gmail.com>
Thu, 17 Oct 2019 15:41:54 +0000 (23:41 +0800)
commite305b8b6d1ff227779804e4695b8c5cb6864a620
treea7d42ad5f28062111203a8b93fcc47e8de01362b
parentd61dd248ddadf85b3222b3f63c3d268fcc24beb4
drm/lima: use drm_gem_(un)lock_reservations

Simplify the driver code with DRM GEM helper function.

v2:
improve commit comment.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010140152.17747-3-yuq825@gmail.com
drivers/gpu/drm/lima/lima_gem.c