Defined in 2 files as a prototype:
- drivers/gpu/drm/amd/display/dc/bios/command_table.c, line 2578 (as a prototype)
- drivers/gpu/drm/amd/display/dc/bios/command_table2.c, line 806 (as a prototype)
Defined in 2 files as a function:
- drivers/gpu/drm/amd/display/dc/bios/command_table.c, line 2599 (as a function)
- drivers/gpu/drm/amd/display/dc/bios/command_table2.c, line 851 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/display/dc/bios/command_table.c, line 2589
- drivers/gpu/drm/amd/display/dc/bios/command_table2.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c enable_disp_power_gating_fallback() -> enable_disp_power_gating_v2_1()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->base.ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->base.ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->base.ctx->dc->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->base.ctx->dc->ctx->dmub_srv | 1-u64max |
| PARAM_VALUE | 0 | bp->base.ctx->dc->debug.dmub_command_table | 1 |
| PARAM_VALUE | 0 | bp->cmd_tbl.enable_disp_power_gating | 1-u64max |
| PARAM_VALUE | 2 | action | 0-2 |
| CAPPED_DATA | 1 | crtc_id | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | crtc_id | $1 |
| DATA_SOURCE | 2 | action | $2 |
| FUZZY_MAX | 2 | action | 2 |
| HARD_MAX | 2 | action | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c bios_parser_enable_disp_power_gating() -> (struct cmd_tbl)->enable_disp_power_gating()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->cmd_tbl.enable_disp_power_gating | 1-u64max |
| PARAM_VALUE | 2 | action | 0-2 |
| CAPPED_DATA | 1 | crtc_id | 1 |
| DATA_SOURCE | 1 | crtc_id | $1 |
| DATA_SOURCE | 2 | action | $2 |
| FUZZY_MAX | 2 | action | 2 |
| CONTAINER | 0 | -128-240+0 | $(-1) |
| HARD_MAX | 2 | action | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c bios_parser_enable_disp_power_gating() -> (struct cmd_tbl)->enable_disp_power_gating()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->cmd_tbl.enable_disp_power_gating | 1-u64max |
| PARAM_VALUE | 2 | action | 0-2 |
| CAPPED_DATA | 1 | crtc_id | 1 |
| DATA_SOURCE | 1 | crtc_id | $1 |
| DATA_SOURCE | 2 | action | $2 |
| FUZZY_MAX | 2 | action | 2 |
| CONTAINER | 0 | -144-240+0 | $(-1) |
| HARD_MAX | 2 | action | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |