Searched refs:old_obj_state (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_global_state.c | 177 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()
|
D | intel_global_state.h | 48 #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/ |
D | drm_atomic.h | 991 #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/ |
D | drm_atomic_helper.c | 3025 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()
|