Home
last modified time | relevance | path

Searched refs:private_objs (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/
Ddrm_atomic.c110 kfree(state->private_objs); in drm_atomic_state_default_release()
253 struct drm_private_obj *obj = state->private_objs[i].ptr; in drm_atomic_state_default_clear()
256 state->private_objs[i].state); in drm_atomic_state_default_clear()
257 state->private_objs[i].ptr = NULL; in drm_atomic_state_default_clear()
258 state->private_objs[i].state = NULL; in drm_atomic_state_default_clear()
259 state->private_objs[i].old_state = NULL; in drm_atomic_state_default_clear()
260 state->private_objs[i].new_state = NULL; in drm_atomic_state_default_clear()
840 if (obj == state->private_objs[i].ptr) in drm_atomic_get_private_obj_state()
841 return state->private_objs[i].state; in drm_atomic_get_private_obj_state()
848 size = sizeof(*state->private_objs) * num_objs; in drm_atomic_get_private_obj_state()
[all …]
Ddrm_atomic_helper.c3120 state->private_objs[i].state = old_obj_state; in drm_atomic_helper_swap_state()
/linux-6.12.1/include/drm/
Ddrm_atomic.h451 struct __drm_private_objs_state *private_objs; member
1042 ((obj) = (__state)->private_objs[__i].ptr, \
1043 (old_obj_state) = (__state)->private_objs[__i].old_state, \
1044 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
1061 ((obj) = (__state)->private_objs[__i].ptr, \
1062 (old_obj_state) = (__state)->private_objs[__i].old_state, 1); \
1079 ((obj) = (__state)->private_objs[__i].ptr, \
1081 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
/linux-6.12.1/drivers/gpu/drm/display/
Ddrm_dp_tunnel.c30 for_each_if ((__state)->private_objs[__i].ptr && \
31 is_dp_tunnel_private_obj((__state)->private_objs[__i].ptr) && \
33 to_group_state((__state)->private_objs[__i].new_state), 1))
39 for_each_if ((__state)->private_objs[__i].ptr && \
40 is_dp_tunnel_private_obj((__state)->private_objs[__i].ptr) && \
42 to_group_state((__state)->private_objs[__i].old_state), 1))
/linux-6.12.1/include/drm/display/
Ddrm_dp_mst_helper.h995 struct __drm_private_objs_state *objs_state = &state->private_objs[i]; in __drm_dp_mst_state_iter_get()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c11828 struct drm_private_obj *obj = state->private_objs[i].ptr; in amdgpu_dm_atomic_check()
11834 state->private_objs[i].state); in amdgpu_dm_atomic_check()
11841 state->private_objs[i] = in amdgpu_dm_atomic_check()
11842 state->private_objs[j]; in amdgpu_dm_atomic_check()
11844 state->private_objs[j].ptr = NULL; in amdgpu_dm_atomic_check()
11845 state->private_objs[j].state = NULL; in amdgpu_dm_atomic_check()
11846 state->private_objs[j].old_state = NULL; in amdgpu_dm_atomic_check()
11847 state->private_objs[j].new_state = NULL; in amdgpu_dm_atomic_check()