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_plane.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_plane_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_fill_gfx12_attrs_from_modifiers() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 3 | tiling_info | 4096-ptr_max |
| PARAM_VALUE | 3 | tiling_info->gfx9.max_compressed_frags | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.num_banks | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.num_pipes | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.num_pkrs | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.num_rb_per_se | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.num_shader_engines | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.pipe_interleave | 0-u16max |
| PARAM_VALUE | 3 | tiling_info->gfx9.shaderEnable | 1 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0-31 |
| PARAM_VALUE | 3 | tiling_info->gfxversion | 5 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | format | $2 |
| DATA_SOURCE | 2 | rotation | $3 |
| DATA_SOURCE | 3 | tiling_info | $5 |
| DATA_SOURCE | 4 | dcc | $6 |
| DATA_SOURCE | 5 | address | $7 |
| DATA_SOURCE | 6 | plane_size | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c amdgpu_dm_plane_fill_gfx9_attrs_from_modifiers() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 3 | tiling_info | 4096-ptr_max |
| PARAM_VALUE | 3 | tiling_info->gfx9.max_compressed_frags | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.num_rb_per_se | 0-255 |
| PARAM_VALUE | 3 | tiling_info->gfx9.pipe_interleave | 0-u16max |
| PARAM_VALUE | 3 | tiling_info->gfx9.shaderEnable | 1 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0-31 |
| PARAM_VALUE | 3 | tiling_info->gfxversion | 2 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | format | $2 |
| DATA_SOURCE | 2 | rotation | $3 |
| DATA_SOURCE | 3 | tiling_info | $5 |
| DATA_SOURCE | 4 | dcc | $6 |
| DATA_SOURCE | 5 | address | $7 |
| DATA_SOURCE | 6 | plane_size | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_validate_dcc_cap_callback_fails() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 3 |
| PARAM_VALUE | 2 | rotation | 0 |
| PARAM_VALUE | 3 | tiling_info | 443155627314745344 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0 |
| PARAM_VALUE | 4 | dcc | 8940041013736235008 |
| PARAM_VALUE | 5 | address | 2992566274148720640 |
| PARAM_VALUE | 5 | address->type | 0 |
| PARAM_VALUE | 5 | address->vmid | 0 |
| PARAM_VALUE | 6 | plane_size | 5528040254988451840 |
| PARAM_VALUE | 6 | plane_size->surface_size.height | 0 |
| PARAM_VALUE | 6 | plane_size->surface_size.width | 0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_validate_dcc_disabled_returns_success() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 3 |
| PARAM_VALUE | 2 | rotation | 0 |
| PARAM_VALUE | 3 | tiling_info | 461772334936293376 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0 |
| PARAM_VALUE | 4 | dcc | 1498091683431673856 |
| PARAM_VALUE | 4 | dcc->enable | 0 |
| PARAM_VALUE | 5 | address | 4491501302750072832 |
| PARAM_VALUE | 5 | address->type | 0 |
| PARAM_VALUE | 5 | address->vmid | 0 |
| PARAM_VALUE | 6 | plane_size | 7093059546457964544 |
| PARAM_VALUE | 6 | plane_size->surface_size.height | 0 |
| PARAM_VALUE | 6 | plane_size->surface_size.width | 0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_validate_dcc_independent_64b_mismatch_fails() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 3 |
| PARAM_VALUE | 2 | rotation | 0 |
| PARAM_VALUE | 3 | tiling_info | 2322547615438921728 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0 |
| PARAM_VALUE | 4 | dcc | 5575569749919186944 |
| PARAM_VALUE | 4 | dcc->independent_64b_blks | 0 |
| PARAM_VALUE | 5 | address | 7619122072879132672 |
| PARAM_VALUE | 5 | address->type | 0 |
| PARAM_VALUE | 5 | address->vmid | 0 |
| PARAM_VALUE | 6 | plane_size | 3524186660210860032 |
| PARAM_VALUE | 6 | plane_size->surface_size.height | 0 |
| PARAM_VALUE | 6 | plane_size->surface_size.width | 0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_validate_dcc_missing_cap_func_fails() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 3 |
| PARAM_VALUE | 2 | rotation | 0 |
| PARAM_VALUE | 3 | tiling_info | 5188721456733794304 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0 |
| PARAM_VALUE | 4 | dcc | 1383391258259746816 |
| PARAM_VALUE | 5 | address | 7421360642139856896 |
| PARAM_VALUE | 5 | address->type | 0 |
| PARAM_VALUE | 5 | address->vmid | 0 |
| PARAM_VALUE | 6 | plane_size | 908623728826245120 |
| PARAM_VALUE | 6 | plane_size->surface_size.height | 0 |
| PARAM_VALUE | 6 | plane_size->surface_size.width | 0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_validate_dcc_not_capable_fails() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 3 |
| PARAM_VALUE | 2 | rotation | 0 |
| PARAM_VALUE | 3 | tiling_info | 9128954172498927616 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0 |
| PARAM_VALUE | 4 | dcc | 1433859144120438784 |
| PARAM_VALUE | 5 | address | 1523138790590603264 |
| PARAM_VALUE | 5 | address->type | 0 |
| PARAM_VALUE | 5 | address->vmid | 0 |
| PARAM_VALUE | 6 | plane_size | 7584940065714749440 |
| PARAM_VALUE | 6 | plane_size->surface_size.height | 0 |
| PARAM_VALUE | 6 | plane_size->surface_size.width | 0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_validate_dcc_success_and_scan_mapping() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | format | 3 |
| PARAM_VALUE | 2 | rotation | 1 |
| PARAM_VALUE | 3 | tiling_info | 7753630151255814144 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0 |
| PARAM_VALUE | 4 | dcc | 665324976224120832 |
| PARAM_VALUE | 5 | address | 7863155097974398976 |
| PARAM_VALUE | 5 | address->type | 0 |
| PARAM_VALUE | 5 | address->vmid | 0 |
| PARAM_VALUE | 6 | plane_size | 2028859411905687552 |
| PARAM_VALUE | 6 | plane_size->surface_size.height | 0 |
| PARAM_VALUE | 6 | plane_size->surface_size.width | 0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_plane_test.c dm_test_validate_dcc_video_non_gfx12_fails() -> amdgpu_dm_plane_validate_dcc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->family | 143 |
| PARAM_VALUE | 1 | format | 18 |
| PARAM_VALUE | 2 | rotation | 0 |
| PARAM_VALUE | 3 | tiling_info | 8716251511596064768 |
| PARAM_VALUE | 3 | tiling_info->gfx9.swizzle | 0 |
| PARAM_VALUE | 4 | dcc | 8886130671754858496 |
| PARAM_VALUE | 5 | address | 5962716553942683648 |
| PARAM_VALUE | 5 | address->type | 0 |
| PARAM_VALUE | 5 | address->vmid | 0 |
| PARAM_VALUE | 6 | plane_size | 2561414685249536 |
| PARAM_VALUE | 6 | plane_size->surface_size.height | 0 |
| PARAM_VALUE | 6 | plane_size->surface_size.width | 0 |