iris: fix major refcounting bug with resources
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Jun 2018 02:22:47 +0000 (19:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +0000 (10:26 -0800)
commita6aeca972719ac85f6d333b4178375a626983e43
tree3e946379aea3c5f1186a27080a2c4dac559367c2
parent49f9c888012a408dbd8ad134a6289270766062a4
iris: fix major refcounting bug with resources

DONTBLOCK -> NULL was happening after taking a reference, causing those
to live forever

This resolves the OOM problems
src/gallium/drivers/iris/iris_resource.c