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 amdgpu_dm_plane_set_color_properties() -> amdgpu_dm_atomic_blend_lut()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | has_rom | 0 |
| PARAM_VALUE | 2 | tf | 0-3,7-9 |
| PARAM_VALUE | 4 | cm | 4096-ptr_max |
| PARAM_VALUE | 4 | cm->lut3d_func.lut_3d.use_12bits | 1 |
| PARAM_VALUE | 4 | cm->shaper_func.sdr_ref_white_level | 80 |
| PARAM_VALUE | 4 | cm->shaper_func.tf | 0-3,7-9 |
| PARAM_VALUE | 4 | cm->shaper_func.type | 1-2 |
| BUF_SIZE | 0 | blend_lut | (-1),32 |
| BUF_SIZE | 0 | blend_lut | (-1),32 |
| DATA_SOURCE | 0 | blend_lut | r __extract_blob_lut |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_color_test.c dm_test_atomic_blend_lut_bypass() -> amdgpu_dm_atomic_blend_lut()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | blend_lut | 0 |
| PARAM_VALUE | 1 | has_rom | 0 |
| PARAM_VALUE | 2 | tf | 3 |
| PARAM_VALUE | 3 | blend_size | 0 |
| PARAM_VALUE | 4 | cm | 16,4096-ptr_max |
| BUF_SIZE | 4 | cm | 108256 |
| DATA_SOURCE | 4 | cm | r kunit_kzalloc |
| MEM_ZERO | 4 | cm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_color_test.c dm_test_atomic_shaper_blend_srgb() -> amdgpu_dm_atomic_blend_lut()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | blend_lut | 0 |
| PARAM_VALUE | 1 | has_rom | 0 |
| PARAM_VALUE | 2 | tf | 0 |
| PARAM_VALUE | 3 | blend_size | 0 |
| PARAM_VALUE | 4 | cm | 4096-ptr_max |
| PARAM_VALUE | 4 | cm->shaper_func.sdr_ref_white_level | 80 |
| PARAM_VALUE | 4 | cm->shaper_func.tf | 0-3,7-9 |
| PARAM_VALUE | 4 | cm->shaper_func.tf_pts.end_exponent | 0,4,7 |
| PARAM_VALUE | 4 | cm->shaper_func.tf_pts.x_point_at_y1_blue | 0-1,12,125 |
| PARAM_VALUE | 4 | cm->shaper_func.tf_pts.x_point_at_y1_green | 0-1,12,125 |
| PARAM_VALUE | 4 | cm->shaper_func.tf_pts.x_point_at_y1_red | 0-1,12,125 |
| PARAM_VALUE | 4 | cm->shaper_func.type | 1-2 |
| BUF_SIZE | 4 | cm | 108256 |
| DATA_SOURCE | 4 | cm | r kunit_kzalloc |
| FUZZY_MAX | 4 | cm->shaper_func.tf | 0 |
| FUZZY_MAX | 4 | cm->shaper_func.tf_pts.end_exponent | 0 |
| FUZZY_MAX | 4 | cm->shaper_func.tf_pts.x_point_at_y1_blue | 0 |
| FUZZY_MAX | 4 | cm->shaper_func.tf_pts.x_point_at_y1_green | 0 |
| FUZZY_MAX | 4 | cm->shaper_func.tf_pts.x_point_at_y1_red | 0 |
| MEM_ZERO | 4 | cm |