Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_scaling_state_same() -> is_scaling_state_different()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->scaling | 1 |
| PARAM_VALUE | 0 | dm_state->underscan_enable | 0 |
| PARAM_VALUE | 1 | old_dm_state | 4096-ptr_max |
| PARAM_VALUE | 1 | old_dm_state->scaling | 1 |
| PARAM_VALUE | 1 | old_dm_state->underscan_enable | 0 |
| BUF_SIZE | 0 | dm_state | 464 |
| BUF_SIZE | 1 | old_dm_state | 464 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| DATA_SOURCE | 1 | old_dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state | |
| MEM_ZERO | 1 | old_dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_scaling_state_scaling_changed() -> is_scaling_state_different()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->scaling | 1 |
| PARAM_VALUE | 1 | old_dm_state | 4096-ptr_max |
| PARAM_VALUE | 1 | old_dm_state->scaling | 2 |
| BUF_SIZE | 0 | dm_state | 464 |
| BUF_SIZE | 1 | old_dm_state | 464 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| DATA_SOURCE | 1 | old_dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state | |
| MEM_ZERO | 1 | old_dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_scaling_state_underscan_border_changed() -> is_scaling_state_different()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->underscan_enable | 1 |
| PARAM_VALUE | 0 | dm_state->underscan_hborder | 16 |
| PARAM_VALUE | 0 | dm_state->underscan_vborder | 16 |
| PARAM_VALUE | 1 | old_dm_state | 4096-ptr_max |
| PARAM_VALUE | 1 | old_dm_state->underscan_enable | 1 |
| PARAM_VALUE | 1 | old_dm_state->underscan_hborder | 32 |
| PARAM_VALUE | 1 | old_dm_state->underscan_vborder | 16 |
| BUF_SIZE | 0 | dm_state | 464 |
| BUF_SIZE | 1 | old_dm_state | 464 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| DATA_SOURCE | 1 | old_dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state | |
| MEM_ZERO | 1 | old_dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_scaling_state_underscan_disabled() -> is_scaling_state_different()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->underscan_enable | 0 |
| PARAM_VALUE | 1 | old_dm_state | 4096-ptr_max |
| PARAM_VALUE | 1 | old_dm_state->underscan_enable | 1 |
| PARAM_VALUE | 1 | old_dm_state->underscan_hborder | 16 |
| PARAM_VALUE | 1 | old_dm_state->underscan_vborder | 16 |
| BUF_SIZE | 0 | dm_state | 464 |
| BUF_SIZE | 1 | old_dm_state | 464 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| DATA_SOURCE | 1 | old_dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state | |
| MEM_ZERO | 1 | old_dm_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_test.c dm_test_scaling_state_underscan_enabled() -> is_scaling_state_different()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dm_state | 4096-ptr_max |
| PARAM_VALUE | 0 | dm_state->underscan_enable | 1 |
| PARAM_VALUE | 0 | dm_state->underscan_hborder | 16 |
| PARAM_VALUE | 0 | dm_state->underscan_vborder | 16 |
| PARAM_VALUE | 1 | old_dm_state | 4096-ptr_max |
| PARAM_VALUE | 1 | old_dm_state->underscan_enable | 0 |
| BUF_SIZE | 0 | dm_state | 464 |
| BUF_SIZE | 1 | old_dm_state | 464 |
| DATA_SOURCE | 0 | dm_state | r kunit_kzalloc |
| DATA_SOURCE | 1 | old_dm_state | r kunit_kzalloc |
| MEM_ZERO | 0 | dm_state | |
| MEM_ZERO | 1 | old_dm_state |