Searched refs:old_obj_state (Results 1 – 2 of 2) sorted by relevance
| /linux/include/drm/ |
| H A D | drm_atomic.h | 1223 #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument 1227 (old_obj_state) = (__state)->private_objs[__i].old_state, \ 1242 #define for_each_old_private_obj_in_state(__state, obj, old_obj_state, __i) \ argument 1246 (old_obj_state) = (__state)->private_objs[__i].old_state, 1); \
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_helper.c | 3267 struct drm_private_state *old_obj_state, *new_obj_state; in drm_atomic_helper_swap_state() local 3364 for_each_oldnew_private_obj_in_state(state, obj, old_obj_state, new_obj_state, i) { in drm_atomic_helper_swap_state() 3365 WARN_ON(obj->state != old_obj_state); in drm_atomic_helper_swap_state() 3367 old_obj_state->state = state; in drm_atomic_helper_swap_state() 3370 state->private_objs[i].state_to_destroy = old_obj_state; in drm_atomic_helper_swap_state()
|