Home
last modified time | relevance | path

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

/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);
/drivers/gpu/drm/
Ddrm_atomic.c826 struct drm_private_state *obj_state; in drm_atomic_get_private_obj_state() local
846 obj_state = obj->funcs->atomic_duplicate_state(obj); in drm_atomic_get_private_obj_state()
847 if (!obj_state) in drm_atomic_get_private_obj_state()
850 state->private_objs[index].state = obj_state; in drm_atomic_get_private_obj_state()
852 state->private_objs[index].new_state = obj_state; in drm_atomic_get_private_obj_state()
854 obj_state->state = state; in drm_atomic_get_private_obj_state()
859 obj, obj_state, state); in drm_atomic_get_private_obj_state()
861 return obj_state; in drm_atomic_get_private_obj_state()
1093 struct drm_private_state *obj_state; in drm_atomic_get_bridge_state() local
1095 obj_state = drm_atomic_get_private_obj_state(state, &bridge->base); in drm_atomic_get_bridge_state()
[all …]