Searched refs:madv (Results 1 – 12 of 12) sorted by relevance
470 int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv) in msm_gem_madvise() argument476 if (msm_obj->madv != __MSM_MADV_PURGED) in msm_gem_madvise()477 msm_obj->madv = madv; in msm_gem_madvise()479 return (msm_obj->madv != __MSM_MADV_PURGED); in msm_gem_madvise()497 msm_obj->madv = __MSM_MADV_PURGED; in msm_gem_purge()575 WARN_ON(msm_obj->madv != MSM_MADV_WILLNEED); in msm_gem_move_to_active()642 const char *madv; in msm_gem_describe() local646 switch (msm_obj->madv) { in msm_gem_describe()648 madv = " purged"; in msm_gem_describe()651 madv = " purgeable"; in msm_gem_describe()[all …]
35 uint8_t madv; member87 return (msm_obj->madv == MSM_MADV_DONTNEED) && msm_obj->sgt && in is_purgeable()
215 int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv);
716 switch (args->madv) { in msm_ioctl_gem_madvise()734 ret = msm_gem_madvise(obj, args->madv); in msm_ioctl_gem_madvise()
122 if (tmp->madv == __I915_MADV_PURGED) { in i915_gem_batch_pool_get()145 obj->madv = I915_MADV_DONTNEED; in i915_gem_batch_pool_get()
226 BUG_ON(obj->madv == __I915_MADV_PURGED); in i915_gem_object_put_pages_phys()236 if (obj->madv == I915_MADV_DONTNEED) in i915_gem_object_put_pages_phys()258 if (obj->madv == I915_MADV_WILLNEED) in i915_gem_object_put_pages_phys()419 if (obj->madv != I915_MADV_WILLNEED) in i915_gem_object_attach_phys()2109 obj->madv = __I915_MADV_PURGED; in i915_gem_object_truncate()2118 switch (obj->madv) { in i915_gem_object_invalidate()2139 BUG_ON(obj->madv == __I915_MADV_PURGED); in i915_gem_object_put_pages_gtt()2155 if (obj->madv == I915_MADV_DONTNEED) in i915_gem_object_put_pages_gtt()2162 if (obj->madv == I915_MADV_WILLNEED) in i915_gem_object_put_pages_gtt()2353 if (obj->madv != I915_MADV_WILLNEED) { in i915_gem_object_get_pages()[all …]
91 return swap_available() || obj->madv == I915_MADV_DONTNEED; in can_release_pages()178 obj->madv != I915_MADV_DONTNEED) in i915_gem_shrink()
264 obj->madv == I915_MADV_WILLNEED && in i915_gem_set_tiling()
685 if (obj->madv != I915_MADV_WILLNEED) in i915_gem_userptr_put_pages()
808 err->purgeable = obj->madv != I915_MADV_WILLNEED; in capture_bo()
164 obj->madv == I915_MADV_DONTNEED ? " purgeable" : ""); in describe_obj()416 if (obj->madv == I915_MADV_DONTNEED) { in i915_gem_object_info()438 if (obj->madv == I915_MADV_DONTNEED) { in i915_gem_object_info()
2220 unsigned int madv:2; member