Searched refs:old_obj_state (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A 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()
|
H A 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, \
|
/openbmc/linux/include/drm/ |
H A 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); \
|
/openbmc/linux/drivers/gpu/drm/ |
H A 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()
|