virgl: add exported dmabuf to BO hash table
authorRob Herring <robh@kernel.org>
Fri, 17 Jun 2016 22:25:35 +0000 (17:25 -0500)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Jul 2016 23:09:56 +0000 (09:09 +1000)
commita235765d27d259edb7b028b8df55ef7240622242
tree23b5a1e62a8ec39c915541b69bed16c33226cbaa
parent6d958c7c1666a2c67ab74e2b2542d1352eb49a5e
virgl: add exported dmabuf to BO hash table

Exported dmabufs can get imported by the same process, but the handle was
not getting added to the hash table on export. Add the handle to the hash
table on export.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c