radeonsi: fix an assertion failure: assert(!res->b.is_shared)
authorMarek Olšák <marek.olsak@amd.com>
Fri, 2 Aug 2019 23:07:58 +0000 (19:07 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 19 Aug 2019 21:23:38 +0000 (17:23 -0400)
commit8d0d753bd058961ac4e1274ac10f937711e0cc1b
treefd46e0275a9442700b97920e0c358b4505376dd3
parentbdcbac94598083540b8fc45c6aaa663bb1f739ff
radeonsi: fix an assertion failure: assert(!res->b.is_shared)

This only appears to happen on Raven2.

Possible way to reproduce:

resource_get_handle(WINSYS_HANDLE_TYPE_KMS) --> sets is_shared = true
resource_get_handle(WINSYS_HANDLE_TYPE_DMABUF) --> fail

Cc: 19.1 19.2 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_texture.c