OSDN Git Service

freedreno: fix a bo cache segfault with imported bo's
authorVarad Gautam <varadgautam@gmail.com>
Fri, 21 Aug 2015 16:44:33 +0000 (22:14 +0530)
committerRob Clark <robclark@freedesktop.org>
Sun, 23 Aug 2015 16:33:09 +0000 (12:33 -0400)
commit857c22e5ecf016bcd15508fec6e6d435bf69b58d
tree2e9a5311b4ade95a037189cc66c5fe61c7cf7967
parentcf40cf05a4d7f3945d534790e7768a048adc3ab0
freedreno: fix a bo cache segfault with imported bo's

Importing a bo whose handle is still in the bo cache crashes during cleanup.
Remove bo from cache when importing.

Signed-off-by: Varad Gautam <varadgautam@gmail.com>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
freedreno/freedreno_bo.c