Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c __set_dm_plane_degamma() -> __set_input_tf()

Type Parameter Key Value
PARAM_VALUE 0 caps 0,4096-ptr_max
PARAM_VALUE 1 func 4096-ptr_max
PARAM_VALUE 1 func->tf 0-3,7-9
PARAM_VALUE 1 func->type 1
PARAM_VALUE 2 lut 1-u64max
PARAM_VALUE 3 lut_size 1-u32max
BUF_SIZE 0 caps 0,64
BUF_SIZE 0 caps 0,64
BUF_SIZE 2 lut (-1),32
BUF_SIZE 2 lut (-1),32
CAPPED_DATA 3 lut_size 1
DATA_SOURCE 0 caps $2
DATA_SOURCE 2 lut r __extract_blob_lut

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c amdgpu_dm_atomic_blend_lut() -> __set_input_tf()

Type Parameter Key Value
PARAM_VALUE 0 caps 0
PARAM_VALUE 1 func 4096-ptr_max
PARAM_VALUE 1 func->sdr_ref_white_level 80
PARAM_VALUE 1 func->tf 0-3,7-9
PARAM_VALUE 1 func->type 1
BUF_SIZE 2 lut (-1),32
BUF_SIZE 2 lut (-1),32
DATA_SOURCE 2 lut $0
DATA_SOURCE 3 lut_size $3

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c map_crtc_degamma_to_dc_plane() -> __set_input_tf()

Type Parameter Key Value
PARAM_VALUE 0 caps 0,4096-ptr_max
PARAM_VALUE 1 func 4096-ptr_max
PARAM_VALUE 1 func->tf 0-1,3
PARAM_VALUE 1 func->type 1
BUF_SIZE 0 caps 0,64
BUF_SIZE 0 caps 0,64
BUF_SIZE 2 lut (-1),32
BUF_SIZE 2 lut (-1),32
DATA_SOURCE 0 caps $2
DATA_SOURCE 2 lut r __extract_blob_lut

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_color_test.c dm_test_set_input_tf_srgb() -> __set_input_tf()

Type Parameter Key Value
PARAM_VALUE 0 caps 0
PARAM_VALUE 1 func 4096-ptr_max
PARAM_VALUE 1 func->tf 0
PARAM_VALUE 1 func->type 0
PARAM_VALUE 2 lut 0
PARAM_VALUE 3 lut_size 0
BUF_SIZE 1 func 24632
DATA_SOURCE 1 func r kunit_kzalloc
MEM_ZERO 1 func

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_color_test.c dm_test_set_transfer_funcs_with_luts() -> __set_input_tf()

Type Parameter Key Value
PARAM_VALUE 0 caps 0
PARAM_VALUE 1 func 4096-ptr_max
PARAM_VALUE 1 func->sdr_ref_white_level 0
PARAM_VALUE 1 func->tf 0
PARAM_VALUE 1 func->tf_pts.end_exponent 0
PARAM_VALUE 1 func->tf_pts.x_point_at_y1_blue 0
PARAM_VALUE 1 func->tf_pts.x_point_at_y1_green 0
PARAM_VALUE 1 func->tf_pts.x_point_at_y1_red 0
PARAM_VALUE 1 func->type 1
PARAM_VALUE 2 lut 16,4096-ptr_max
PARAM_VALUE 3 lut_size 4096
BUF_SIZE 1 func 24632
BUF_SIZE 2 lut 32768
BUF_SIZE 2 lut 32768
DATA_SOURCE 1 func r kunit_kzalloc
DATA_SOURCE 2 lut r kunit_kcalloc
MEM_ZERO 1 func