Lines Matching refs:pfdev
16 static void panfrost_gem_debugfs_bo_add(struct panfrost_device *pfdev, in panfrost_gem_debugfs_bo_add() argument
22 mutex_lock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_add()
23 list_add_tail(&bo->debugfs.node, &pfdev->debugfs.gems_list); in panfrost_gem_debugfs_bo_add()
24 mutex_unlock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_add()
29 struct panfrost_device *pfdev = bo->base.base.dev->dev_private; in panfrost_gem_debugfs_bo_rm() local
34 mutex_lock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_rm()
36 mutex_unlock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_rm()
39 static void panfrost_gem_debugfs_bo_add(struct panfrost_device *pfdev, in panfrost_gem_debugfs_bo_add() argument
51 struct panfrost_device *pfdev = obj->dev->dev_private; in panfrost_gem_free_object() local
59 mutex_lock(&pfdev->shrinker_lock); in panfrost_gem_free_object()
61 mutex_unlock(&pfdev->shrinker_lock); in panfrost_gem_free_object()
79 dma_unmap_sgtable(pfdev->dev, &bo->sgts[i], in panfrost_gem_free_object()
287 struct panfrost_device *pfdev = dev->dev_private; in panfrost_gem_create_object() local
297 obj->base.map_wc = !pfdev->coherent; in panfrost_gem_create_object()
300 panfrost_gem_debugfs_bo_add(pfdev, obj); in panfrost_gem_create_object()
469 void panfrost_gem_debugfs_print_bos(struct panfrost_device *pfdev, in panfrost_gem_debugfs_print_bos() argument
480 scoped_guard(mutex, &pfdev->debugfs.gems_lock) { in panfrost_gem_debugfs_print_bos()
481 list_for_each_entry(bo, &pfdev->debugfs.gems_list, debugfs.node) { in panfrost_gem_debugfs_print_bos()