Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c dp_link_settings_write() -> dc_link_set_preferred_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_setting | 0 |
| PARAM_VALUE | 2 | lt_overrides | 0 |
| PARAM_VALUE | 3 | link | 4096-ptr_max |
| PARAM_VALUE | 4 | skip_immediate_retrain | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c dp_link_settings_write() -> dc_link_set_preferred_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_setting | 712421215429459968 |
| PARAM_VALUE | 1 | link_setting->lane_count | 1-2,4 |
| PARAM_VALUE | 1 | link_setting->link_rate | 6,8-10,12,16,20,30,1000,1350,2000 |
| PARAM_VALUE | 2 | lt_overrides | 0 |
| PARAM_VALUE | 3 | link | 4096-ptr_max |
| PARAM_VALUE | 4 | skip_immediate_retrain | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c dp_mst_link_setting() -> dc_link_set_preferred_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_setting | 0 |
| PARAM_VALUE | 2 | lt_overrides | 0 |
| PARAM_VALUE | 3 | link | 4096-ptr_max |
| PARAM_VALUE | 4 | skip_immediate_retrain | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c dp_mst_link_setting() -> dc_link_set_preferred_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_setting | 6548228063436038144 |
| PARAM_VALUE | 1 | link_setting->lane_count | 1-2,4 |
| PARAM_VALUE | 1 | link_setting->link_rate | 6,10,12,20,30,1000,1350,2000 |
| PARAM_VALUE | 2 | lt_overrides | 0 |
| PARAM_VALUE | 3 | link | 4096-ptr_max |
| PARAM_VALUE | 4 | skip_immediate_retrain | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c edp_ilr_write() -> dc_link_set_preferred_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_setting | 0 |
| PARAM_VALUE | 2 | lt_overrides | 0 |
| PARAM_VALUE | 3 | link | 4096-ptr_max |
| PARAM_VALUE | 4 | skip_immediate_retrain | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c edp_ilr_write() -> dc_link_set_preferred_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_setting | 7610167958875512832 |
| PARAM_VALUE | 1 | link_setting->lane_count | 1-2,4 |
| PARAM_VALUE | 1 | link_setting->link_rate | 0-48 |
| PARAM_VALUE | 1 | link_setting->use_link_rate_set | 1 |
| PARAM_VALUE | 2 | lt_overrides | 0 |
| PARAM_VALUE | 3 | link | 4096-ptr_max |
| PARAM_VALUE | 3 | link->dpcd_caps.dpcd_rev.raw | 19-255 |
| PARAM_VALUE | 3 | link->priv | 1-u64max |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 3 | link->priv->dm_dp_aux.aux.hw_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 4 | skip_immediate_retrain | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |