Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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.c2374 if (u->in_transfer_func) in det_surface_update()
2725 if (srf_update->in_transfer_func && in copy_surface_update_to_plane()
2726 (surface->in_transfer_func != in copy_surface_update_to_plane()
2727 srf_update->in_transfer_func)) { in copy_surface_update_to_plane()
2728 surface->in_transfer_func->sdr_ref_white_level = in copy_surface_update_to_plane()
2729 srf_update->in_transfer_func->sdr_ref_white_level; in copy_surface_update_to_plane()
2730 surface->in_transfer_func->tf = in copy_surface_update_to_plane()
2731 srf_update->in_transfer_func->tf; in copy_surface_update_to_plane()
2732 surface->in_transfer_func->type = in copy_surface_update_to_plane()
2733 srf_update->in_transfer_func->type; in copy_surface_update_to_plane()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1771 if (plane_state->in_transfer_func) in dcn10_set_input_transfer_func()
1772 tf = plane_state->in_transfer_func; in dcn10_set_input_transfer_func()