Documented in 1 files:
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_color.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_color_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c __set_dm_plane_colorop_shaper() -> __set_output_tf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | func | 4096-ptr_max |
| PARAM_VALUE | 0 | func->sdr_ref_white_level | 80 |
| PARAM_VALUE | 0 | func->tf | 0-3,7 |
| PARAM_VALUE | 0 | func->type | 1 |
| PARAM_VALUE | 1 | lut | 0 |
| PARAM_VALUE | 2 | lut_size | 0 |
| PARAM_VALUE | 3 | has_rom | 0 |
| BUF_SIZE | 0 | func | 24632 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c amdgpu_dm_atomic_shaper_lut() -> __set_output_tf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | func | 24,4096-ptr_max |
| PARAM_VALUE | 0 | func->sdr_ref_white_level | 80 |
| PARAM_VALUE | 0 | func->tf | 0-3,7-9 |
| PARAM_VALUE | 0 | func->type | 1 |
| BUF_SIZE | 1 | lut | (-1),32 |
| BUF_SIZE | 1 | lut | (-1),32 |
| DATA_SOURCE | 1 | lut | $0 |
| DATA_SOURCE | 2 | lut_size | $3 |
| DATA_SOURCE | 3 | has_rom | $1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c amdgpu_dm_set_atomic_regamma() -> __set_output_tf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | func | 4096-ptr_max |
| PARAM_VALUE | 0 | func->sdr_ref_white_level | 80 |
| PARAM_VALUE | 0 | func->tf | 0-3,7-9 |
| PARAM_VALUE | 0 | func->type | 1 |
| PARAM_VALUE | 2 | lut_size | 0-255,257-u32max |
| BUF_SIZE | 0 | func | 24624 |
| BUF_SIZE | 0 | func | 24624 |
| BUF_SIZE | 1 | lut | (-1),32 |
| BUF_SIZE | 1 | lut | (-1),32 |
| CAPPED_DATA | 2 | lut_size | 1 |
| DATA_SOURCE | 0 | func | $0 |
| DATA_SOURCE | 1 | lut | $1 |
| DATA_SOURCE | 2 | lut_size | $2 |
| DATA_SOURCE | 3 | has_rom | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_color_test.c dm_test_set_output_tf_linear() -> __set_output_tf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | func | 4096-ptr_max |
| PARAM_VALUE | 0 | func->tf | 3 |
| PARAM_VALUE | 0 | func->type | 0 |
| PARAM_VALUE | 1 | lut | 0 |
| PARAM_VALUE | 2 | lut_size | 0 |
| PARAM_VALUE | 3 | has_rom | 0 |
| BUF_SIZE | 0 | func | 24632 |
| DATA_SOURCE | 0 | func | r kunit_kzalloc |
| MEM_ZERO | 0 | func |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_color_test.c dm_test_set_transfer_funcs_with_luts() -> __set_output_tf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | func | 4096-ptr_max |
| PARAM_VALUE | 0 | func->tf | 3 |
| PARAM_VALUE | 0 | func->type | 1 |
| PARAM_VALUE | 1 | lut | 16,4096-ptr_max |
| PARAM_VALUE | 2 | lut_size | 4096 |
| PARAM_VALUE | 3 | has_rom | 0 |
| BUF_SIZE | 0 | func | 24632 |
| BUF_SIZE | 1 | lut | 32768 |
| BUF_SIZE | 1 | lut | 32768 |
| DATA_SOURCE | 0 | func | r kunit_kzalloc |
| DATA_SOURCE | 1 | lut | r kunit_kcalloc |
| MEM_ZERO | 0 | func |