Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpt.c243 struct drm_i915_gem_object *dpt_obj; in intel_dpt_create() local
256 dpt_obj = i915_gem_object_create_lmem(i915, size, I915_BO_ALLOC_CONTIGUOUS); in intel_dpt_create()
257 if (IS_ERR(dpt_obj) && i915_ggtt_has_aperture(to_gt(i915)->ggtt)) in intel_dpt_create()
258 dpt_obj = i915_gem_object_create_stolen(i915, size); in intel_dpt_create()
259 if (IS_ERR(dpt_obj) && !HAS_LMEM(i915)) { in intel_dpt_create()
261 dpt_obj = i915_gem_object_create_internal(i915, size); in intel_dpt_create()
263 if (IS_ERR(dpt_obj)) in intel_dpt_create()
264 return ERR_CAST(dpt_obj); in intel_dpt_create()
266 ret = i915_gem_object_lock_interruptible(dpt_obj, NULL); in intel_dpt_create()
268 ret = i915_gem_object_set_cache_level(dpt_obj, I915_CACHE_NONE); in intel_dpt_create()
[all …]