Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_global_state.c109 if (obj == state->global_objs[i].ptr) in intel_atomic_get_global_obj_state()
110 return state->global_objs[i].state; in intel_atomic_get_global_obj_state()
115 size = sizeof(*state->global_objs) * num_objs; in intel_atomic_get_global_obj_state()
116 arr = krealloc(state->global_objs, size, GFP_KERNEL); in intel_atomic_get_global_obj_state()
120 state->global_objs = arr; in intel_atomic_get_global_obj_state()
122 memset(&state->global_objs[index], 0, sizeof(*state->global_objs)); in intel_atomic_get_global_obj_state()
133 state->global_objs[index].state = obj_state; in intel_atomic_get_global_obj_state()
134 state->global_objs[index].old_state = in intel_atomic_get_global_obj_state()
136 state->global_objs[index].new_state = obj_state; in intel_atomic_get_global_obj_state()
137 state->global_objs[index].ptr = obj; in intel_atomic_get_global_obj_state()
[all …]
Dintel_global_state.h35 ((obj) = (__state)->global_objs[__i].ptr, \
36 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
43 ((obj) = (__state)->global_objs[__i].ptr, \
44 (new_obj_state) = (__state)->global_objs[__i].old_state, 1); \
51 ((obj) = (__state)->global_objs[__i].ptr, \
52 (old_obj_state) = (__state)->global_objs[__i].old_state, \
53 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
Dintel_atomic.c331 kfree(state->global_objs); in intel_atomic_state_free()
Dintel_display_types.h655 struct __intel_global_objs_state *global_objs; member