Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dpt.c248 struct drm_i915_gem_object *dpt_obj; in intel_dpt_create() local
263 dpt_obj = i915_gem_object_create_stolen(i915, size); in intel_dpt_create()
264 if (IS_ERR(dpt_obj) && !HAS_LMEM(i915)) { in intel_dpt_create()
266 dpt_obj = i915_gem_object_create_shmem(i915, size); in intel_dpt_create()
268 if (IS_ERR(dpt_obj)) in intel_dpt_create()
269 return ERR_CAST(dpt_obj); in intel_dpt_create()
271 ret = i915_gem_object_lock_interruptible(dpt_obj, NULL); in intel_dpt_create()
274 i915_gem_object_unlock(dpt_obj); in intel_dpt_create()
277 i915_gem_object_put(dpt_obj); in intel_dpt_create()
283 i915_gem_object_put(dpt_obj); in intel_dpt_create()
[all …]