https://bugs.freedesktop.org/show_bug.cgi?id=102655
--- Comment #2 from Chris Wilson chris@chris-wilson.co.uk --- Given all the floating references held on objects, I'm not sure if we can do a "stable_obj_count" without the loop and sleeping. I'm not sure of all the places that we do have such objects in a timer, so getting the interval right or adding a flush control is hard. E.g. one thing we are not flushing before counting are the kms workqueues which hold a reference on the old object until finished.
dri-devel@lists.freedesktop.org