Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c289 struct dpu_global_state *global_state, in _dpu_rm_check_lm_and_get_connected_blks() argument
297 if (reserved_by_other(global_state->mixer_to_enc_id, lm_idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks()
309 if (reserved_by_other(global_state->pingpong_to_enc_id, idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks()
325 if (reserved_by_other(global_state->dspp_to_enc_id, idx, enc_id)) { in _dpu_rm_check_lm_and_get_connected_blks()
336 struct dpu_global_state *global_state, in _dpu_rm_reserve_lms() argument
360 if (!_dpu_rm_check_lm_and_get_connected_blks(rm, global_state, in _dpu_rm_reserve_lms()
381 global_state, enc_id, j, in _dpu_rm_reserve_lms()
398 global_state->mixer_to_enc_id[lm_idx[i]] = enc_id; in _dpu_rm_reserve_lms()
399 global_state->pingpong_to_enc_id[pp_idx[i]] = enc_id; in _dpu_rm_reserve_lms()
400 global_state->dspp_to_enc_id[dspp_idx[i]] = in _dpu_rm_reserve_lms()
[all …]
Ddpu_rm.h70 struct dpu_global_state *global_state,
82 void dpu_rm_release(struct dpu_global_state *global_state,
89 struct dpu_global_state *global_state, uint32_t enc_id,
Ddpu_encoder.c591 struct dpu_global_state *global_state; in dpu_encoder_virt_atomic_check() local
608 global_state = dpu_kms_get_global_state(crtc_state->state); in dpu_encoder_virt_atomic_check()
609 if (IS_ERR(global_state)) in dpu_encoder_virt_atomic_check()
610 return PTR_ERR(global_state); in dpu_encoder_virt_atomic_check()
641 dpu_rm_release(global_state, drm_enc); in dpu_encoder_virt_atomic_check()
644 ret = dpu_rm_reserve(&dpu_kms->rm, global_state, in dpu_encoder_virt_atomic_check()
981 struct dpu_global_state *global_state; in dpu_encoder_virt_mode_set() local
1001 global_state = dpu_kms_get_existing_global_state(dpu_kms); in dpu_encoder_virt_mode_set()
1002 if (IS_ERR_OR_NULL(global_state)) { in dpu_encoder_virt_mode_set()
1029 num_pp = dpu_rm_get_assigned_resources(&dpu_kms->rm, global_state, in dpu_encoder_virt_mode_set()
[all …]
Ddpu_kms.h117 struct drm_private_obj global_state; member
Ddpu_kms.c223 return to_dpu_global_state(dpu_kms->global_state.state); in dpu_kms_get_existing_global_state()
242 &dpu_kms->global_state); in dpu_kms_get_global_state()
286 drm_atomic_private_obj_init(dpu_kms->dev, &dpu_kms->global_state, in dpu_kms_global_obj_init()
/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()
/drivers/gpu/drm/i915/gt/uc/abi/
Dguc_actions_slpc_abi.h166 u32 global_state; member
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_slpc.c114 return data->header.global_state; in slpc_get_state()