Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_replay.c mod_power_replay_disabled_desync_error_detection() -> mod_power_replay_set_general_cmd()

Type Parameter Key Value
PARAM_VALUE 2 general_cmd_type 1
PARAM_VALUE 4 param2 0
DATA_SOURCE 0 mod_power $0
DATA_SOURCE 1 stream $1
DATA_SOURCE 3 param1 $2
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_replay.c mod_power_set_coasting_vtotal_without_frame_update() -> mod_power_replay_set_general_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mod_power 1-u64max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 2 general_cmd_type 6
PARAM_VALUE 4 param2 0
DATA_SOURCE 0 mod_power $0
DATA_SOURCE 1 stream $1
DATA_SOURCE 3 param1 $2
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_replay.c mod_power_set_live_capture_with_cvt_activate() -> mod_power_replay_set_general_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mod_power 1-u64max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 1 stream->link 4096-ptr_max
PARAM_VALUE 1 *stream->link->replay_settings.coasting_vtotal_table 0-4294967295
PARAM_VALUE 2 general_cmd_type 7
PARAM_VALUE 4 param2 0
BUF_SIZE 0 mod_power (-1),4
BUF_SIZE 0 mod_power (-1),4
CAPPED_DATA 1 stream 1
CAPPED_DATA 1 stream->link 1
DATA_SOURCE 0 mod_power $0
DATA_SOURCE 1 stream $1
DATA_SOURCE 3 param1 $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_replay.c mod_power_set_low_rr_activate() -> mod_power_replay_set_general_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mod_power 1-u64max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 1 stream->link 4096-ptr_max
PARAM_VALUE 1 *stream->link->replay_settings.coasting_vtotal_table 0-4294967295
PARAM_VALUE 2 general_cmd_type 3
PARAM_VALUE 4 param2 0
BUF_SIZE 0 mod_power (-1),4
BUF_SIZE 0 mod_power (-1),4
CAPPED_DATA 1 stream 1
CAPPED_DATA 1 stream->link 1
DATA_SOURCE 0 mod_power $0
DATA_SOURCE 1 stream $1
DATA_SOURCE 3 param1 $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_replay.c mod_power_set_replay_continuously_resync() -> mod_power_replay_set_general_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mod_power 1-u64max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 2 general_cmd_type 5
PARAM_VALUE 4 param2 0
DATA_SOURCE 0 mod_power $0
DATA_SOURCE 1 stream $1
DATA_SOURCE 3 param1 $2
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_replay.c mod_power_set_video_conferencing_activate() -> mod_power_replay_set_general_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mod_power 1-u64max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 2 general_cmd_type 4
PARAM_VALUE 4 param2 0
DATA_SOURCE 0 mod_power $0
DATA_SOURCE 1 stream $1
DATA_SOURCE 3 param1 $2
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_replay.c mod_power_update_error_status() -> mod_power_replay_set_general_cmd()

Type Parameter Key Value
PARAM_VALUE 0 mod_power 1-u64max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 1 stream->link 4096-ptr_max
PARAM_VALUE 1 *stream->link->replay_settings.coasting_vtotal_table 0-4294967295
PARAM_VALUE 2 general_cmd_type 2
PARAM_VALUE 4 param2 0
BUF_SIZE 0 mod_power (-1),4
BUF_SIZE 0 mod_power (-1),4
CAPPED_DATA 1 stream 1
CAPPED_DATA 1 stream->link 1
DATA_SOURCE 0 mod_power $0
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dm->dc_lock