Home
last modified time | relevance | path

Searched refs:pm_apply (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_ttm_pm.c45 struct i915_gem_ttm_pm_apply *pm_apply = in i915_ttm_backup() local
46 container_of(apply, typeof(*pm_apply), base); in i915_ttm_backup()
59 if (pm_apply->allow_gpu && i915_gem_object_evictable(obj)) in i915_ttm_backup()
62 if (!pm_apply->backup_pinned || in i915_ttm_backup()
63 (pm_apply->allow_gpu && (obj->flags & I915_BO_ALLOC_PM_EARLY))) in i915_ttm_backup()
79 WARN_ON_ONCE(!pm_apply->allow_gpu); in i915_ttm_backup()
97 err = i915_gem_obj_copy_ttm(backup, obj, pm_apply->allow_gpu, false); in i915_ttm_backup()
160 struct i915_gem_ttm_pm_apply pm_apply = { in i915_ttm_backup_region() local
166 return i915_gem_process_region(mr, &pm_apply.base); in i915_ttm_backup_region()
172 struct i915_gem_ttm_pm_apply *pm_apply = in i915_ttm_restore() local
[all …]