OSDN Git Service

minigbm: increment ref count in drv_bo_import
authorSatyajit Sahu <satyajit.sahu@amd.com>
Thu, 12 Jul 2018 06:59:39 +0000 (12:29 +0530)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 13 Jul 2018 09:22:29 +0000 (02:22 -0700)
commita047d4113fc111d33fb4ad4eea196ff9916803b4
tree245e8c69df8bfd0aa9f28b4b938a6b921ef82fd6
parentdc8554f4359dd9e1fbb7ecf75c0d02c509168e0d
minigbm: increment ref count in drv_bo_import

increment the reference count of gem handle in
drv_bo_import instead of backend.

BUG=b:111378370
TEST=graphics autotest suite

Change-Id: I68bc64e421f8505be5cd46874f02ab5c32805f04
Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-on: https://chromium-review.googlesource.com/1134720
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
drv.c
helpers.c