Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dpcd.c internal_link_read_dpcd() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx->dc->current_state->bw_ctx.dml.vba.DPPCLKUsingSingleDPPChroma -inf-1.797693e+308
PARAM_VALUE 0 ctx->dc->current_state->bw_ctx.dml.vba.DPPCLKUsingSingleDPPLuma -inf-1.797693e+308
PARAM_VALUE 0 ctx->dc->dml.vba.DPPCLKUsingSingleDPPChroma -inf-1.797693e+308
PARAM_VALUE 0 ctx->dc->dml.vba.DPPCLKUsingSingleDPPLuma -inf-1.797693e+308
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->aux_access_disabled 0
PARAM_VALUE 1 link->ctx->dc->current_state->bw_ctx.dml.vba.DPPCLKUsingSingleDPPChroma -inf-1.797693e+308
PARAM_VALUE 1 link->ctx->dc->current_state->bw_ctx.dml.vba.DPPCLKUsingSingleDPPLuma -inf-1.797693e+308
PARAM_VALUE 1 link->ctx->dc->dml.vba.DPPCLKUsingSingleDPPChroma -inf-1.797693e+308
PARAM_VALUE 1 link->ctx->dc->dml.vba.DPPCLKUsingSingleDPPLuma -inf-1.797693e+308
PARAM_VALUE 1 link->link_enc->funcs->is_dig_enabled 0,835999835047198720,2505374968371208192,3400303375799660544,6908382666642669568
PARAM_VALUE 1 link->panel_cntl->funcs 4096-ptr_max
PARAM_VALUE 1 *link->dc->current_state->res_ctx.hpo_dp_link_enc_to_link_idx 0-4294967295
PARAM_VALUE 1 *link->dpcd_caps.edp_supported_link_rates 0-4294967295
PARAM_VALUE 3 data 4096-ptr_max
CAPPED_DATA 2 address 1
DATA_SOURCE 1 link $0
DATA_SOURCE 2 address $1
DATA_SOURCE 3 data $2
DATA_SOURCE 4 size $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL 0-u32max
HOST_DATA 1 link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL2 0-u32max
HOST_DATA 1 link->panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL 0-u32max
NO_OVERFLOW_SIMPLE 2 address
NO_OVERFLOW_SIMPLE 4 size
HALF_LOCKED2 &aconnector->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c edp_setup_psr() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 128
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv->edp_set_backlight_level 4096-ptr_max
PARAM_VALUE 1 link->panel_config.psr.read_psrcap_again 1
PARAM_VALUE 2 address 112
PARAM_VALUE 3 data 4096-ptr_max
PARAM_VALUE 4 size 1
DATA_SOURCE 1 link $0
NOCHECK_CALL
UNITS 4 size unit_byte

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_dp_read_dpcd_null_priv() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 0
PARAM_VALUE 1 link 16,4096-ptr_max
PARAM_VALUE 2 address 0
PARAM_VALUE 3 data 3129961958239612928
PARAM_VALUE 3 *data 0
PARAM_VALUE 4 size 1
BUF_SIZE 1 link 1616
DATA_SOURCE 1 link r kunit_kzalloc
MEM_ZERO 1 link
UNITS 4 size unit_byte

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_dp_read_dpcd_success() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 0
PARAM_VALUE 2 address 0
PARAM_VALUE 3 data 7257981424751599616
PARAM_VALUE 3 *data 0
PARAM_VALUE 4 size 1
DATA_SOURCE 1 link r dm_test_dpcd_link
UNITS 4 size unit_byte

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_irq_handler.c handle_hpd_irq_psr_sink() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->logger 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->ctx->logger 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->psr_settings.psr_feature_enabled 1
PARAM_VALUE 2 address 368
PARAM_VALUE 3 *data 0
PARAM_VALUE 4 size 1
CAPPED_DATA 1 link 1
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 size unit_byte
LOCK2 &aconnector->hpd_lock
HALF_LOCKED2 &adev->dm.irq_handler_list_table_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irq_table_flags
TYPE_LOCK (struct amdgpu_dm_connector)->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_irq_handler.c handle_hpd_irq_psr_sink() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->logger 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->ctx->logger 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.dep_map->name 0-255
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 1 link->psr_settings.psr_feature_enabled 1
PARAM_VALUE 2 address 8198
PARAM_VALUE 3 data 4096-ptr_max
PARAM_VALUE 4 size 3
BUF_SIZE 3 data 3
CAPPED_DATA 1 link 1
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 size unit_byte
LOCK2 &aconnector->hpd_lock
HALF_LOCKED2 &adev->dm.irq_handler_list_table_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irq_table_flags
TYPE_LOCK (struct amdgpu_dm_connector)->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_irq_handler.c handle_hpd_irq_replay_sink() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->logger 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->ctx->logger 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->replay_settings.replay_feature_enabled 1
PARAM_VALUE 2 address 888
PARAM_VALUE 4 size 1
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
UNITS 4 size unit_byte
LOCK2 &aconnector->hpd_lock
HALF_LOCKED2 &adev->dm.irq_handler_list_table_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irq_table_flags
TYPE_LOCK (struct amdgpu_dm_connector)->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_irq_handler.c handle_hpd_irq_replay_sink() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->logger 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->ctx->logger 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->replay_settings.replay_feature_enabled 1
PARAM_VALUE 2 address 8198
PARAM_VALUE 3 *data 0
PARAM_VALUE 4 size 1
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 size unit_byte
LOCK2 &aconnector->hpd_lock
HALF_LOCKED2 &adev->dm.irq_handler_list_table_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irq_table_flags
TYPE_LOCK (struct amdgpu_dm_connector)->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_irq_handler.c handle_hpd_irq_replay_sink() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->logger 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->ctx->logger 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->replay_settings.replay_feature_enabled 1
PARAM_VALUE 2 address 8226
PARAM_VALUE 3 *data 0
PARAM_VALUE 4 size 1
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &aconnector->hpd_lock
HALF_LOCKED2 &adev->dm.irq_handler_list_table_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irq_table_flags
TYPE_LOCK (struct amdgpu_dm_connector)->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_irq_handler.c handle_hpd_irq_vesa_replay_sink() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->logger 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->ctx->logger 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->replay_settings.config.replay_version 1
PARAM_VALUE 1 link->replay_settings.replay_feature_enabled 1
PARAM_VALUE 2 address 8224
PARAM_VALUE 3 *data 0
PARAM_VALUE 4 size 1
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 size unit_byte
LOCK2 &aconnector->hpd_lock
HALF_LOCKED2 &adev->dm.irq_handler_list_table_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irq_table_flags
TYPE_LOCK (struct amdgpu_dm_connector)->hpd_lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c edp_ilr_show() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 address 16
PARAM_VALUE 3 data 5693001334071291904
PARAM_VALUE 4 size 16
BUF_SIZE 3 data 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 size unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c edp_ilr_write() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 address 16
PARAM_VALUE 3 data 4096-ptr_max
PARAM_VALUE 4 size 16
BUF_SIZE 3 data 16
UNITS 4 size unit_byte

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_hdcp.c lp_read_dpcd() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 3 data 4096-ptr_max
PARAM_VALUE 4 size 1-16
BUF_SIZE 3 data (-1),4
BUF_SIZE 3 data (-1),4
CAPPED_DATA 4 size 1
DATA_SOURCE 1 link $0
DATA_SOURCE 2 address $1
DATA_SOURCE 3 data $2
DATA_SOURCE 4 size $3
FUZZY_MAX 4 size 16
RX_PATH
UNITS 4 size unit_byte
HALF_LOCKED2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c dm_helpers_mst_enable_stream_features() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->aux_access_disabled 0
PARAM_VALUE 2 address 263
PARAM_VALUE 4 size 1
BUF_SIZE 1 link (-1),1616
BUF_SIZE 1 link (-1),1616
UNITS 4 size unit_byte

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c dm_helpers_read_local_edid() -> dm_helpers_dp_read_dpcd()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->aux_mode 1
PARAM_VALUE 1 link->connector_signal 1-2,4,8,32,128
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 1 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 1 link->ddc->ddc_pin->pin_clock->mode s32min-s32max
PARAM_VALUE 1 link->ddc->ddc_pin->pin_clock->pin 0-s64max
PARAM_VALUE 1 link->ddc->ddc_pin->pin_data->mode s32min-s32max
PARAM_VALUE 1 link->ddc->ddc_pin->pin_data->pin 0-s64max
PARAM_VALUE 1 link->ddc->link->priv->i2c->base.dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 1 link->ddc->transaction_type 0-2
PARAM_VALUE 1 link->hpd_status 0
PARAM_VALUE 1 link->local_sink 4096-ptr_max
PARAM_VALUE 1 link->local_sink->dc_container_id 0
PARAM_VALUE 1 link->local_sink->dongle_max_pix_clk 0
PARAM_VALUE 1 link->local_sink->link 4096-ptr_max
PARAM_VALUE 1 link->local_sink->refcount.refcount.refs.counter 1
PARAM_VALUE 1 link->local_sink->sink_signal 1-2,4,8,128,512
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 link->priv->dm_dp_aux.aux.hw_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 link->type 0
PARAM_VALUE 2 address 536
PARAM_VALUE 3 *data 0
PARAM_VALUE 4 size 1
BUF_SIZE 1 link (-1),1616
BUF_SIZE 1 link (-1),1616
BUF_SIZE 1 link->local_sink 2520
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 link $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 size unit_byte
HALF_LOCKED2 &aconnector->hpd_lock
HALF_LOCKED2 _T->lock