drm/freedreno/msm
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
..
msm_bo.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
msm_device.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
msm_drm.h freedreno: sync uapi header (driver version 1.3.0) 2017-11-04 17:23:20 -04:00
msm_pipe.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
msm_priv.h freedreno: small cleanup 2018-07-30 12:18:58 -04:00
msm_ringbuffer.c freedreno: fix use-after-free with stateobj rb's 2018-08-08 14:31:17 -04:00