Home
last modified time | relevance | path

Searched refs:global_state (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c315 struct dpu_global_state *global_state, in _dpu_rm_check_lm_and_get_connected_blks() argument
323 if (reserved_by_other(global_state->mixer_to_enc_id, lm_idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks()
335 if (reserved_by_other(global_state->pingpong_to_enc_id, idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks()
351 if (reserved_by_other(global_state->dspp_to_enc_id, idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks()
362 struct dpu_global_state *global_state, in _dpu_rm_reserve_lms() argument
386 if (!_dpu_rm_check_lm_and_get_connected_blks(rm, global_state, in _dpu_rm_reserve_lms()
407 global_state, enc_id, j, in _dpu_rm_reserve_lms()
424 global_state->mixer_to_enc_id[lm_idx[i]] = enc_id; in _dpu_rm_reserve_lms()
425 global_state->pingpong_to_enc_id[pp_idx[i]] = enc_id; in _dpu_rm_reserve_lms()
426 global_state->dspp_to_enc_id[dspp_idx[i]] = in _dpu_rm_reserve_lms()
[all …]
Ddpu_rm.h69 struct dpu_global_state *global_state,
81 void dpu_rm_release(struct dpu_global_state *global_state,
88 struct dpu_global_state *global_state, uint32_t enc_id,
Ddpu_encoder.c610 struct dpu_global_state *global_state; in dpu_encoder_virt_atomic_check() local
626 global_state = dpu_kms_get_global_state(crtc_state->state); in dpu_encoder_virt_atomic_check()
627 if (IS_ERR(global_state)) in dpu_encoder_virt_atomic_check()
628 return PTR_ERR(global_state); in dpu_encoder_virt_atomic_check()
655 dpu_rm_release(global_state, drm_enc); in dpu_encoder_virt_atomic_check()
658 ret = dpu_rm_reserve(&dpu_kms->rm, global_state, in dpu_encoder_virt_atomic_check()
1025 struct dpu_global_state *global_state; in dpu_encoder_virt_atomic_mode_set() local
1046 global_state = dpu_kms_get_existing_global_state(dpu_kms); in dpu_encoder_virt_atomic_mode_set()
1047 if (IS_ERR_OR_NULL(global_state)) { in dpu_encoder_virt_atomic_mode_set()
1055 num_pp = dpu_rm_get_assigned_resources(&dpu_kms->rm, global_state, in dpu_encoder_virt_atomic_mode_set()
[all …]
Ddpu_kms.h90 struct drm_private_obj global_state; member
Ddpu_kms.c312 return to_dpu_global_state(dpu_kms->global_state.state); in dpu_kms_get_existing_global_state()
331 &dpu_kms->global_state); in dpu_kms_get_global_state()
375 drm_atomic_private_obj_init(dpu_kms->dev, &dpu_kms->global_state, in dpu_kms_global_obj_init()
/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mixer.c44 struct mdp5_global_state *global_state = mdp5_get_global_state(s); in mdp5_mixer_assign() local
48 if (IS_ERR(global_state)) in mdp5_mixer_assign()
49 return PTR_ERR(global_state); in mdp5_mixer_assign()
51 new_state = &global_state->hwmixer; in mdp5_mixer_assign()
121 struct mdp5_global_state *global_state = mdp5_get_global_state(s); in mdp5_mixer_release() local
127 if (IS_ERR(global_state)) in mdp5_mixer_release()
128 return PTR_ERR(global_state); in mdp5_mixer_release()
130 new_state = &global_state->hwmixer; in mdp5_mixer_release()
Dmdp5_smp.c333 struct mdp5_global_state *global_state; in mdp5_smp_dump() local
342 global_state = mdp5_get_existing_global_state(mdp5_kms); in mdp5_smp_dump()
345 hwpstate = &global_state->hwpipe; in mdp5_smp_dump()
346 state = &global_state->smp; in mdp5_smp_dump()
381 struct mdp5_global_state *global_state; in mdp5_smp_init() local
395 global_state = mdp5_get_existing_global_state(mdp5_kms); in mdp5_smp_init()
396 state = &global_state->smp; in mdp5_smp_init()
Dmdp5_kms.c160 struct mdp5_global_state *global_state; in mdp5_prepare_commit() local
162 global_state = mdp5_get_existing_global_state(mdp5_kms); in mdp5_prepare_commit()
165 mdp5_smp_prepare_commit(mdp5_kms->smp, &global_state->smp); in mdp5_prepare_commit()
185 struct mdp5_global_state *global_state; in mdp5_complete_commit() local
187 global_state = mdp5_get_existing_global_state(mdp5_kms); in mdp5_complete_commit()
190 mdp5_smp_complete_commit(mdp5_kms->smp, &global_state->smp); in mdp5_complete_commit()
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/abi/
Dguc_actions_slpc_abi.h171 u32 global_state; member
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_slpc.c98 return data->header.global_state; in slpc_get_state()