Home
last modified time | relevance | path

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

/linux-6.6.21/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.c8108 bundle->surface_updates[planes_count].in_transfer_func = dc_plane->in_transfer_func; in amdgpu_dm_commit_planes()
/linux-6.6.21/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.c2536 if (u->in_transfer_func) in det_surface_update()
2806 if (srf_update->in_transfer_func && in copy_surface_update_to_plane()
2807 (surface->in_transfer_func != in copy_surface_update_to_plane()
2808 srf_update->in_transfer_func)) { in copy_surface_update_to_plane()
2809 surface->in_transfer_func->sdr_ref_white_level = in copy_surface_update_to_plane()
2810 srf_update->in_transfer_func->sdr_ref_white_level; in copy_surface_update_to_plane()
2811 surface->in_transfer_func->tf = in copy_surface_update_to_plane()
2812 srf_update->in_transfer_func->tf; in copy_surface_update_to_plane()
2813 surface->in_transfer_func->type = in copy_surface_update_to_plane()
2814 srf_update->in_transfer_func->type; in copy_surface_update_to_plane()
[all …]
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c537 if (plane_state->in_transfer_func && in dcn32_set_input_transfer_func()
538 plane_state->in_transfer_func->type == TF_TYPE_PREDEFINED) in dcn32_set_input_transfer_func()
539 tf = plane_state->in_transfer_func->tf; in dcn32_set_input_transfer_func()
543 if (plane_state->in_transfer_func) { in dcn32_set_input_transfer_func()
544 if (plane_state->in_transfer_func->type == TF_TYPE_HWPWL) in dcn32_set_input_transfer_func()
545 params = &plane_state->in_transfer_func->pwl; in dcn32_set_input_transfer_func()
546 else if (plane_state->in_transfer_func->type == TF_TYPE_DISTRIBUTED_POINTS && in dcn32_set_input_transfer_func()
547 cm3_helper_translate_curve_to_hw_format(plane_state->in_transfer_func, in dcn32_set_input_transfer_func()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc.h1209 struct dc_transfer_func *in_transfer_func; member
1308 const struct dc_transfer_func *in_transfer_func; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c289 if (plane_state->in_transfer_func) in dce110_set_input_transfer_func()
290 tf = plane_state->in_transfer_func; in dce110_set_input_transfer_func()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c955 if (plane_state->in_transfer_func) in dcn20_set_input_transfer_func()
956 tf = plane_state->in_transfer_func; in dcn20_set_input_transfer_func()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1757 if (plane_state->in_transfer_func) in dcn10_set_input_transfer_func()
1758 tf = plane_state->in_transfer_func; in dcn10_set_input_transfer_func()