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_connector.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c fill_stream_properties_from_drm_display_mode() -> get_aspect_ratio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode_in | 4096-ptr_max |
| DATA_SOURCE | 0 | mode_in | $1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_aspect_ratio_16_9() -> get_aspect_ratio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode_in | 2698697066015178752 |
| PARAM_VALUE | 0 | mode_in->picture_aspect_ratio | 2 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_aspect_ratio_256_135() -> get_aspect_ratio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode_in | 83515464140034048 |
| PARAM_VALUE | 0 | mode_in->picture_aspect_ratio | 4 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_aspect_ratio_4_3() -> get_aspect_ratio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode_in | 5799628728224210944 |
| PARAM_VALUE | 0 | mode_in->picture_aspect_ratio | 1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_aspect_ratio_64_27() -> get_aspect_ratio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode_in | 7657512972779229184 |
| PARAM_VALUE | 0 | mode_in->picture_aspect_ratio | 3 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_aspect_ratio_no_data() -> get_aspect_ratio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode_in | 5465110425522663424 |
| PARAM_VALUE | 0 | mode_in->picture_aspect_ratio | 0 |