Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_pm.c38 bool allow_gpu : 1; member
59 if (pm_apply->allow_gpu && i915_gem_object_evictable(obj)) 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()
161 .allow_gpu = flags & I915_TTM_BACKUP_ALLOW_GPU, in i915_ttm_backup_region()
181 if (!pm_apply->allow_gpu && !(obj->flags & I915_BO_ALLOC_PM_EARLY)) in i915_ttm_restore()
194 err = i915_gem_obj_copy_ttm(obj, backup, pm_apply->allow_gpu, in i915_ttm_restore()
228 .allow_gpu = flags & I915_TTM_BACKUP_ALLOW_GPU, in i915_ttm_restore_region()