Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/include/drm/
Ddrm_atomic.h984 #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
989 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
1021 #define for_each_new_private_obj_in_state(__state, obj, new_obj_state, __i) \ argument
1026 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
/linux-6.1.9/drivers/gpu/drm/
Ddrm_atomic_helper.c2914 struct drm_private_state *old_obj_state, *new_obj_state; in drm_atomic_helper_swap_state() local
2999 for_each_oldnew_private_obj_in_state(state, obj, old_obj_state, new_obj_state, i) { in drm_atomic_helper_swap_state()
3003 new_obj_state->state = NULL; in drm_atomic_helper_swap_state()
3006 obj->state = new_obj_state; in drm_atomic_helper_swap_state()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3789 struct drm_private_state *new_obj_state; in dm_atomic_get_new_state() local
3792 for_each_new_private_obj_in_state(state, obj, new_obj_state, i) { in dm_atomic_get_new_state()
3794 return to_dm_atomic_state(new_obj_state); in dm_atomic_get_new_state()