Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_global_state.c15 struct intel_global_state *obj_state = in __intel_atomic_global_state_free() local
17 struct intel_global_obj *obj = obj_state->obj; in __intel_atomic_global_state_free()
19 obj->funcs->atomic_destroy_state(obj, obj_state); in __intel_atomic_global_state_free()
22 static void intel_atomic_global_state_put(struct intel_global_state *obj_state) in intel_atomic_global_state_put() argument
24 kref_put(&obj_state->ref, __intel_atomic_global_state_free); in intel_atomic_global_state_put()
28 intel_atomic_global_state_get(struct intel_global_state *obj_state) in intel_atomic_global_state_get() argument
30 kref_get(&obj_state->ref); in intel_atomic_global_state_get()
32 return obj_state; in intel_atomic_global_state_get()
106 struct intel_global_state *obj_state; in intel_atomic_get_global_obj_state() local
124 obj_state = obj->funcs->atomic_duplicate_state(obj); in intel_atomic_get_global_obj_state()
[all …]
Dintel_global_state.h87 int intel_atomic_lock_global_state(struct intel_global_state *obj_state);
88 int intel_atomic_serialize_global_state(struct intel_global_state *obj_state);
/linux-6.1.9/drivers/gpu/drm/
Ddrm_atomic.c834 struct drm_private_state *obj_state; in drm_atomic_get_private_obj_state() local
854 obj_state = obj->funcs->atomic_duplicate_state(obj); in drm_atomic_get_private_obj_state()
855 if (!obj_state) in drm_atomic_get_private_obj_state()
858 state->private_objs[index].state = obj_state; in drm_atomic_get_private_obj_state()
860 state->private_objs[index].new_state = obj_state; in drm_atomic_get_private_obj_state()
862 obj_state->state = state; in drm_atomic_get_private_obj_state()
868 obj, obj_state, state); in drm_atomic_get_private_obj_state()
870 return obj_state; in drm_atomic_get_private_obj_state()
1101 struct drm_private_state *obj_state; in drm_atomic_get_bridge_state() local
1103 obj_state = drm_atomic_get_private_obj_state(state, &bridge->base); in drm_atomic_get_bridge_state()
[all …]