Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c dpu_crtc_assign_resources() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 4096-ptr_max
PARAM_VALUE 1 global_state->ctl_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->cwb_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->dsc_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->dspp_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->mixer_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->pingpong_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 *global_state->ctl_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->cwb_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->dsc_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->dspp_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->mixer_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->pingpong_to_crtc_id 0-4294967295
PARAM_VALUE 3 type 3
PARAM_VALUE 4 blks 2669671675081535488
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &client->modeset_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex.mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c dpu_crtc_assign_resources() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 4096-ptr_max
PARAM_VALUE 1 global_state->ctl_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->cwb_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->dsc_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->dspp_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->mixer_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->pingpong_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 *global_state->ctl_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->cwb_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->dsc_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->dspp_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->mixer_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->pingpong_to_crtc_id 0-4294967295
PARAM_VALUE 2 crtc 4096-ptr_max
PARAM_VALUE 3 type 2
PARAM_VALUE 4 blks 5103649760487755776
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &client->modeset_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex.mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c dpu_crtc_assign_resources() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 4096-ptr_max
PARAM_VALUE 1 global_state->ctl_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->cwb_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->dsc_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->dspp_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->mixer_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 global_state->pingpong_to_crtc_id 4096-ptr_max
PARAM_VALUE 1 *global_state->ctl_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->cwb_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->dsc_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->dspp_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->mixer_to_crtc_id 0-4294967295
PARAM_VALUE 1 *global_state->pingpong_to_crtc_id 0-4294967295
PARAM_VALUE 2 crtc 4096-ptr_max
PARAM_VALUE 3 type 8
PARAM_VALUE 4 blks 8470158431646081024
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &client->modeset_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex.mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_helper_phys_setup_cwb() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 3 type 4
PARAM_VALUE 4 blks 205815463625347072
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &dpu_enc->enc_lock

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_helper_reset_mixers() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 3 type 2
PARAM_VALUE 4 blks 3304691564148752384
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
LOCK2 &dpu_enc->enc_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex
TYPE_LOCK (struct dpu_encoder_virt)->enc_lock

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_virt_atomic_mode_set() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 1-ptr_max
PARAM_VALUE 3 type 5
PARAM_VALUE 4 blks 7232439593449844736
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_virt_atomic_mode_set() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 1-ptr_max
PARAM_VALUE 2 crtc 4096-ptr_max
PARAM_VALUE 3 type 12
PARAM_VALUE 4 blks 6374048051408588800
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_virt_atomic_mode_set() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 1-ptr_max
PARAM_VALUE 3 type 4
PARAM_VALUE 4 blks 7232439593449844736
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_virt_atomic_mode_set() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 1-ptr_max
PARAM_VALUE 2 crtc 4096-ptr_max
PARAM_VALUE 3 type 3
PARAM_VALUE 4 blks 6629632617230798848
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_virt_atomic_mode_set() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 1-ptr_max
PARAM_VALUE 2 crtc 4096-ptr_max
PARAM_VALUE 3 type 10
PARAM_VALUE 4 blks 5881565882047463424
PARAM_VALUE 5 blks_size 2
BUF_SIZE 4 blks 16
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
UNITS 5 blks_size unit_array_size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c dpu_encoder_virt_atomic_mode_set() -> dpu_rm_get_assigned_resources()

Type Parameter Key Value
PARAM_VALUE 0 rm 4096-ptr_max
PARAM_VALUE 1 global_state 1-ptr_max
PARAM_VALUE 2 crtc 4096-ptr_max
PARAM_VALUE 3 type 11
PARAM_VALUE 4 blks 1974320905752444928
PARAM_VALUE 4 *blks 0
PARAM_VALUE 5 blks_size 1
DATA_SOURCE 1 global_state r dpu_kms_get_existing_global_state
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex