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.c843 struct drm_private_state *obj_state; in drm_atomic_get_private_obj_state() local
863 obj_state = obj->funcs->atomic_duplicate_state(obj); in drm_atomic_get_private_obj_state()
864 if (!obj_state) in drm_atomic_get_private_obj_state()
867 state->private_objs[index].state = obj_state; in drm_atomic_get_private_obj_state()
869 state->private_objs[index].new_state = obj_state; in drm_atomic_get_private_obj_state()
871 obj_state->state = state; in drm_atomic_get_private_obj_state()
877 obj, obj_state, state); in drm_atomic_get_private_obj_state()
879 return obj_state; in drm_atomic_get_private_obj_state()
1111 struct drm_private_state *obj_state; in drm_atomic_get_bridge_state() local
1113 obj_state = drm_atomic_get_private_obj_state(state, &bridge->base); in drm_atomic_get_bridge_state()
[all …]