Skip to content

panfrost: Fix refcnt re-initialization

Icecream95 requested to merge icecream95/mesa:refcnt-init into master

During the conversion to inline reference counting routines, the logic in panfrost_bo_import got mixed up and the reference count was reset when there were still other references, causing BOs to be freed when they were still being used.

Fixes: 3283c7f4 ("panfrost: Inline reference counting routines")

Merge request reports