Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_guc_pc.c pc_action_query_task_state() -> wait_for_pc_state()

Type Parameter Key Value
PARAM_VALUE 0 pc 4096-ptr_max
PARAM_VALUE 0 pc->bo 4096-ptr_max
PARAM_VALUE 0 pc->bo->tile 4096-ptr_max
PARAM_VALUE 1 target_state 3
PARAM_VALUE 2 timeout_ms 5
DATA_SOURCE 0 pc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &m->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &pc->freq_lock

drivers/gpu/drm/xe/xe_guc_pc.c pc_action_set_param() -> wait_for_pc_state()

Type Parameter Key Value
PARAM_VALUE 1 target_state 3
PARAM_VALUE 2 timeout_ms 5
BUF_SIZE 0 pc (-1),200
BUF_SIZE 0 pc (-1),200
DATA_SOURCE 0 pc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &pc->freq_lock

drivers/gpu/drm/xe/xe_guc_pc.c pc_action_unset_param() -> wait_for_pc_state()

Type Parameter Key Value
PARAM_VALUE 1 target_state 3
PARAM_VALUE 2 timeout_ms 5
DATA_SOURCE 0 pc $0

drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_start() -> wait_for_pc_state()

Type Parameter Key Value
PARAM_VALUE 0 pc 4096-ptr_max
PARAM_VALUE 0 pc->bo 4096-ptr_max
PARAM_VALUE 0 pc->bo->tile 4096-ptr_max
PARAM_VALUE 1 target_state 3
PARAM_VALUE 2 timeout_ms 5
DATA_SOURCE 0 pc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_guc_pc.c xe_guc_pc_start() -> wait_for_pc_state()

Type Parameter Key Value
PARAM_VALUE 0 pc 4096-ptr_max
PARAM_VALUE 0 pc->bo 4096-ptr_max
PARAM_VALUE 0 pc->bo->tile 4096-ptr_max
PARAM_VALUE 1 target_state 3
PARAM_VALUE 2 timeout_ms 1000
DATA_SOURCE 0 pc $0
RX_PATH
TASK_NOT_RUNNING