Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/display/dc/core/dc_state.c, line 1141
- drivers/gpu/drm/amd/display/dc/core/dc_stream.c
- drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c, line 2014
- drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c, line 1829
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c dc_stream_can_clear_cursor_limit() -> dc_stream_check_cursor_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->cursor_position.enable | 1 |
| PARAM_VALUE | 0 | stream->hw_cursor_req | 0 |
| PARAM_VALUE | 1 | state | 1-u64max |
| PARAM_VALUE | 2 | attributes | 4096-ptr_max |
| DATA_SOURCE | 0 | stream | $1 |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c dc_stream_set_cursor_attributes() -> dc_stream_check_cursor_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 2 | attributes | 1687629856727736320,5586961511951790080,6406928628129955840 |
| DATA_SOURCE | 0 | stream | $0 |
| DATA_SOURCE | 2 | attributes | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_can_clear_stream_cursor_subvp_limit() -> dc_stream_check_cursor_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->cursor_position.enable | 1 |
| PARAM_VALUE | 0 | stream->hw_cursor_req | 0 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->stream_count | 1-255 |
| PARAM_VALUE | 1 | state->streams | 4096-ptr_max |
| PARAM_VALUE | 2 | attributes | 4096-ptr_max |
| BUF_SIZE | 1 | state | (-1),370336 |
| BUF_SIZE | 1 | state | (-1),370336 |
| DATA_SOURCE | 0 | stream | $0 |
| DATA_SOURCE | 1 | state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c dcn401_validate_bandwidth() -> dc_stream_check_cursor_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->cursor_position.enable | 1 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->stream_count | 1-255 |
| PARAM_VALUE | 1 | state->streams | 4096-ptr_max |
| PARAM_VALUE | 2 | attributes | 4096-ptr_max |
| BUF_SIZE | 1 | state | (-1),381336 |
| BUF_SIZE | 1 | state | (-1),381336 |
| CAPPED_DATA | 1 | state->stream_count | 1 |
| DATA_SOURCE | 1 | state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |