summaryrefslogtreecommitdiffstats
path: root/src/etnaviv/drm/etnaviv_drmif.h
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2019-08-09 15:34:31 +0200
committerLucas Stach <[email protected]>2019-10-18 17:03:25 +0000
commit9e672e4d20fb77e1b39aee29f9e8e76a5c2af68e (patch)
tree5c24325d2771197d93fb1f10c419b615365885ee /src/etnaviv/drm/etnaviv_drmif.h
parent90e223646bf9541c4b751bcbd04cd81e27fb42e1 (diff)
etnaviv: keep references to pending resources
As long as a resource is pending in any context we must not destroy it, otherwise we'll hit a classical use-after-free with fireworks. To avoid this take a reference when the resource is first added to the pending set and put the reference when no longer pending. Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/etnaviv/drm/etnaviv_drmif.h')
0 files changed, 0 insertions, 0 deletions