Home
last modified time | relevance | path

Searched refs:new_obj_state (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_global_state.h32 #define for_each_new_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument
36 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
40 #define for_each_old_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument
44 (new_obj_state) = (__state)->global_objs[__i].old_state, 1); \
48 #define for_each_oldnew_global_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
53 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \
Dintel_global_state.c177 struct intel_global_state *old_obj_state, *new_obj_state; in intel_atomic_swap_global_state() local
182 new_obj_state, i) { in intel_atomic_swap_global_state()
189 if (!new_obj_state->changed) in intel_atomic_swap_global_state()
195 new_obj_state->state = NULL; in intel_atomic_swap_global_state()
200 obj->state = intel_atomic_global_state_get(new_obj_state); in intel_atomic_swap_global_state()
/kernel/linux/linux-5.10/include/drm/
Ddrm_atomic.h913 #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
918 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
950 #define for_each_new_private_obj_in_state(__state, obj, new_obj_state, __i) \ argument
954 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_atomic_helper.c2778 struct drm_private_state *old_obj_state, *new_obj_state; in drm_atomic_helper_swap_state() local
2863 for_each_oldnew_private_obj_in_state(state, obj, old_obj_state, new_obj_state, i) { in drm_atomic_helper_swap_state()
2867 new_obj_state->state = NULL; in drm_atomic_helper_swap_state()
2870 obj->state = new_obj_state; in drm_atomic_helper_swap_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2969 struct drm_private_state *new_obj_state; in dm_atomic_get_new_state() local
2972 for_each_new_private_obj_in_state(state, obj, new_obj_state, i) { in dm_atomic_get_new_state()
2974 return to_dm_atomic_state(new_obj_state); in dm_atomic_get_new_state()