Am 25.10.18 um 11:03 schrieb zhoucm1:
Add a new function drm_syncobj_stub_fence_init() which is called from drm_core_init() when the module is loaded. In drm_syncobj_stub_fence_init() you initialize one static stub_fence which is then used over and over again. Since its reference count never goes down to zero it should never be freed. In doubt maybe add a .free callback which just calls BUG() to catch reference count issues. Christian.
|
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel