drm/freedreno
Rob Clark 879d7c0298 freedreno: fix use-after-free with stateobj rb's
We could be dropping last reference in ->flush(), so clear the entry in
the parent rb's table to avoid deref'ing after free'd.

Also, ring_bo_del()'s use of ring_cache expects that it is dropping the
last reference.  So drop our ref to the stateobj's ring_bo first.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
2018-08-08 14:31:17 -04:00
..
kgsl freedreno: add fd_ringbuffer_new_object() 2018-07-30 12:18:58 -04:00
msm freedreno: fix use-after-free with stateobj rb's 2018-08-08 14:31:17 -04:00
Android.mk android: introduce Android.common.mk to reduce boilerplate 2017-01-27 15:48:16 +00:00
Makefile.am freedreno: valgrind support 2017-03-23 15:22:30 -04:00
Makefile.sources freedreno: move bo-cache to it's own file 2016-07-20 19:42:21 -04:00
freedreno-symbol-check freedreno: add fd_ringbuffer_new_object() 2018-07-30 12:18:58 -04:00
freedreno_bo.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
freedreno_bo_cache.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
freedreno_device.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
freedreno_drmif.h freedreno: add fd_pipe refcounting 2018-05-09 07:40:29 -04:00
freedreno_pipe.c freedreno: add fd_pipe refcounting 2018-05-09 07:40:29 -04:00
freedreno_priv.h freedreno: add fd_ringbuffer_new_object() 2018-07-30 12:18:58 -04:00
freedreno_ringbuffer.c freedreno/msm: "stateobj" support 2018-07-30 12:18:58 -04:00
freedreno_ringbuffer.h freedreno: add fd_ringbuffer_new_object() 2018-07-30 12:18:58 -04:00
libdrm_freedreno.pc.in freedreno: add freedreno DRM 2013-02-14 12:13:15 -05:00
meson.build meson: use pkg-config to detect libatomic_ops 2018-03-09 17:12:02 +00:00