Home
last modified time | relevance | path

Searched refs:in_transfer_func (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c534 dc_plane_state->in_transfer_func->type = in amdgpu_dm_update_plane_color_mgmt()
562 dc_plane_state->in_transfer_func->tf = tf; in amdgpu_dm_update_plane_color_mgmt()
564 dc_plane_state->in_transfer_func->tf = in amdgpu_dm_update_plane_color_mgmt()
567 r = __set_input_tf(dc_plane_state->in_transfer_func, in amdgpu_dm_update_plane_color_mgmt()
576 dc_plane_state->in_transfer_func->type = TF_TYPE_PREDEFINED; in amdgpu_dm_update_plane_color_mgmt()
577 dc_plane_state->in_transfer_func->tf = tf; in amdgpu_dm_update_plane_color_mgmt()
581 dc_plane_state->in_transfer_func, NULL, false)) in amdgpu_dm_update_plane_color_mgmt()
585 dc_plane_state->in_transfer_func->type = TF_TYPE_BYPASS; in amdgpu_dm_update_plane_color_mgmt()
586 dc_plane_state->in_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_plane_color_mgmt()
Damdgpu_dm.c7640 bundle->surface_updates[planes_count].in_transfer_func = dc_plane->in_transfer_func; in amdgpu_dm_commit_planes()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c46 plane_state->in_transfer_func = dc_create_transfer_func(); in dc_plane_construct()
47 if (plane_state->in_transfer_func != NULL) { in dc_plane_construct()
48 plane_state->in_transfer_func->type = TF_TYPE_BYPASS; in dc_plane_construct()
71 if (plane_state->in_transfer_func != NULL) { in dc_plane_destruct()
73 plane_state->in_transfer_func); in dc_plane_destruct()
74 plane_state->in_transfer_func = NULL; in dc_plane_destruct()
Ddc.c2360 if (u->in_transfer_func) in det_surface_update()
2711 if (srf_update->in_transfer_func && in copy_surface_update_to_plane()
2712 (surface->in_transfer_func != in copy_surface_update_to_plane()
2713 srf_update->in_transfer_func)) { in copy_surface_update_to_plane()
2714 surface->in_transfer_func->sdr_ref_white_level = in copy_surface_update_to_plane()
2715 srf_update->in_transfer_func->sdr_ref_white_level; in copy_surface_update_to_plane()
2716 surface->in_transfer_func->tf = in copy_surface_update_to_plane()
2717 srf_update->in_transfer_func->tf; in copy_surface_update_to_plane()
2718 surface->in_transfer_func->type = in copy_surface_update_to_plane()
2719 srf_update->in_transfer_func->type; in copy_surface_update_to_plane()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c161 if (plane_state->in_transfer_func && in dcn30_set_input_transfer_func()
162 plane_state->in_transfer_func->type == TF_TYPE_PREDEFINED) in dcn30_set_input_transfer_func()
163 tf = plane_state->in_transfer_func->tf; in dcn30_set_input_transfer_func()
167 if (plane_state->in_transfer_func) { in dcn30_set_input_transfer_func()
168 if (plane_state->in_transfer_func->type == TF_TYPE_HWPWL) in dcn30_set_input_transfer_func()
169 params = &plane_state->in_transfer_func->pwl; in dcn30_set_input_transfer_func()
170 else if (plane_state->in_transfer_func->type == TF_TYPE_DISTRIBUTED_POINTS && in dcn30_set_input_transfer_func()
171 cm3_helper_translate_curve_to_hw_format(plane_state->in_transfer_func, in dcn30_set_input_transfer_func()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c616 if (plane_state->in_transfer_func && in dcn32_set_input_transfer_func()
617 plane_state->in_transfer_func->type == TF_TYPE_PREDEFINED) in dcn32_set_input_transfer_func()
618 tf = plane_state->in_transfer_func->tf; in dcn32_set_input_transfer_func()
622 if (plane_state->in_transfer_func) { in dcn32_set_input_transfer_func()
623 if (plane_state->in_transfer_func->type == TF_TYPE_HWPWL) in dcn32_set_input_transfer_func()
624 params = &plane_state->in_transfer_func->pwl; in dcn32_set_input_transfer_func()
625 else if (plane_state->in_transfer_func->type == TF_TYPE_DISTRIBUTED_POINTS && in dcn32_set_input_transfer_func()
626 cm3_helper_translate_curve_to_hw_format(plane_state->in_transfer_func, in dcn32_set_input_transfer_func()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/
Ddc.h1148 struct dc_transfer_func *in_transfer_func; member
1237 const struct dc_transfer_func *in_transfer_func; member
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c294 if (plane_state->in_transfer_func) in dce110_set_input_transfer_func()
295 tf = plane_state->in_transfer_func; in dce110_set_input_transfer_func()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c931 if (plane_state->in_transfer_func) in dcn20_set_input_transfer_func()
932 tf = plane_state->in_transfer_func; in dcn20_set_input_transfer_func()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1745 if (plane_state->in_transfer_func) in dcn10_set_input_transfer_func()
1746 tf = plane_state->in_transfer_func; in dcn10_set_input_transfer_func()