OSDN Git Service

minigbm: fix map time assertions
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 8 Nov 2017 01:21:58 +0000 (17:21 -0800)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 8 Nov 2017 23:10:10 +0000 (15:10 -0800)
commit425173a0c8170528f804b2a9bd02b71fa47d754b
tree80752f68b8b160aad3c43ede16d71613a1a34af4
parent3e9d3830dce97cb0146b9f6e0f4942253f39ca69
minigbm: fix map time assertions

We should assert when the refcount is equal to zero as well.

BUG=chromium:764871
TEST=gbmtest passes

Change-Id: Iaf8b5bd4bf51472ad7c564341b42a7079b58bd6e
Reviewed-on: https://chromium-review.googlesource.com/758143
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drv.c