Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_global_state.c177 struct intel_global_state *old_obj_state, *new_obj_state; in intel_atomic_swap_global_state() local
181 for_each_oldnew_global_obj_in_state(state, obj, old_obj_state, in intel_atomic_swap_global_state()
183 drm_WARN_ON(&dev_priv->drm, obj->state != old_obj_state); in intel_atomic_swap_global_state()
194 old_obj_state->state = state; in intel_atomic_swap_global_state()
197 state->global_objs[i].state = old_obj_state; in intel_atomic_swap_global_state()
Dintel_global_state.h48 #define for_each_oldnew_global_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
52 (old_obj_state) = (__state)->global_objs[__i].old_state, \
/linux-6.6.21/include/drm/
Ddrm_atomic.h991 #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
995 (old_obj_state) = (__state)->private_objs[__i].old_state, \
1010 #define for_each_old_private_obj_in_state(__state, obj, old_obj_state, __i) \ argument
1014 (old_obj_state) = (__state)->private_objs[__i].old_state, 1); \
/linux-6.6.21/drivers/gpu/drm/
Ddrm_atomic_helper.c3025 struct drm_private_state *old_obj_state, *new_obj_state; in drm_atomic_helper_swap_state() local
3110 for_each_oldnew_private_obj_in_state(state, obj, old_obj_state, new_obj_state, i) { in drm_atomic_helper_swap_state()
3111 WARN_ON(obj->state != old_obj_state); in drm_atomic_helper_swap_state()
3113 old_obj_state->state = state; in drm_atomic_helper_swap_state()
3116 state->private_objs[i].state = old_obj_state; in drm_atomic_helper_swap_state()