Searched refs:old_obj_state (Results  1 – 3 of 3) sorted by relevance
| /Linux-v5.4/include/drm/ | 
| D | drm_atomic.h | 890 #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \  argument894 		      (old_obj_state) = (__state)->private_objs[__i].old_state,	\
 909 #define for_each_old_private_obj_in_state(__state, obj, old_obj_state, __i) \  argument
 913 		      (old_obj_state) = (__state)->private_objs[__i].old_state, 1); \
 
 | 
| /Linux-v5.4/drivers/gpu/drm/ | 
| D | drm_atomic_helper.c | 2709 	struct drm_private_state *old_obj_state, *new_obj_state;  in drm_atomic_helper_swap_state()  local2794 	for_each_oldnew_private_obj_in_state(state, obj, old_obj_state, new_obj_state, i) {  in drm_atomic_helper_swap_state()
 2795 		WARN_ON(obj->state != old_obj_state);  in drm_atomic_helper_swap_state()
 2797 		old_obj_state->state = state;  in drm_atomic_helper_swap_state()
 2800 		state->private_objs[i].state = old_obj_state;  in drm_atomic_helper_swap_state()
 
 | 
| /Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/ | 
| D | amdgpu_dm.c | 1944 	struct drm_private_state *old_obj_state;  in dm_atomic_get_old_state()  local1947 	for_each_old_private_obj_in_state(state, obj, old_obj_state, i) {  in dm_atomic_get_old_state()
 1949 			return to_dm_atomic_state(old_obj_state);  in dm_atomic_get_old_state()
 
 |