Defined in 1 files as a prototype:

Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->ctx 4096-ptr_max
PARAM_VALUE 0 link->ctx->logger 4096-ptr_max
PARAM_VALUE 0 link->dc 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 link->psr_settings.psr_allow_active 1
PARAM_VALUE 0 link->psr_settings.psr_feature_enabled 1
PARAM_VALUE 1 allow_active 734956013650448384
PARAM_VALUE 1 *allow_active 0
PARAM_VALUE 2 wait 1
PARAM_VALUE 3 force_static 0
PARAM_VALUE 4 power_opts 0
CAPPED_DATA 0 link 1
DATA_SOURCE 0 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_psr_sink() -> edp_set_psr_allow_active()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->ctx 4096-ptr_max
PARAM_VALUE 0 link->ctx->dc 4096-ptr_max
PARAM_VALUE 0 link->ctx->dc->res_pool 4096-ptr_max
PARAM_VALUE 0 link->ctx->logger 4096-ptr_max
PARAM_VALUE 0 link->dc 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 link->psr_settings.psr_feature_enabled 1
PARAM_VALUE 1 allow_active 734956013650448384
PARAM_VALUE 1 *allow_active 1
PARAM_VALUE 2 wait 1
PARAM_VALUE 3 force_static 0
PARAM_VALUE 4 power_opts 0
CAPPED_DATA 0 link 1
DATA_SOURCE 0 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/core/dc_link_exports.c dc_link_set_psr_allow_active() -> (struct link_service)->edp_set_psr_allow_active()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dc 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 4 power_opts 0,2563988739844943872
PARAM_VALUE 4 *power_opts 0-273
DATA_SOURCE 0 link $0
DATA_SOURCE 1 allow_active $1
DATA_SOURCE 2 wait $2
DATA_SOURCE 3 force_static $3
DATA_SOURCE 4 power_opts $4
CONTAINER 0 -608-1872-488+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/clk_mgr.c clk_mgr_exit_optimized_pwr_state() -> (struct link_service)->edp_set_psr_allow_active()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->psr_settings.psr_feature_enabled 1
PARAM_VALUE 1 allow_active 4821583014368055296
PARAM_VALUE 1 *allow_active 0
PARAM_VALUE 2 wait 0
PARAM_VALUE 3 force_static 0
PARAM_VALUE 4 power_opts 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/clk_mgr.c clk_mgr_optimize_pwr_state() -> (struct link_service)->edp_set_psr_allow_active()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->psr_settings.psr_feature_enabled 1
PARAM_VALUE 1 allow_active 4096-ptr_max
PARAM_VALUE 2 wait 0
PARAM_VALUE 3 force_static 0
PARAM_VALUE 4 power_opts 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL