Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c477 dc_plane_state->in_transfer_func->type = in amdgpu_dm_update_plane_color_mgmt()
505 dc_plane_state->in_transfer_func->tf = tf; in amdgpu_dm_update_plane_color_mgmt()
507 dc_plane_state->in_transfer_func->tf = in amdgpu_dm_update_plane_color_mgmt()
510 r = __set_input_tf(dc_plane_state->in_transfer_func, in amdgpu_dm_update_plane_color_mgmt()
519 dc_plane_state->in_transfer_func->type = TF_TYPE_PREDEFINED; in amdgpu_dm_update_plane_color_mgmt()
520 dc_plane_state->in_transfer_func->tf = tf; in amdgpu_dm_update_plane_color_mgmt()
524 dc_plane_state->in_transfer_func, NULL, false)) in amdgpu_dm_update_plane_color_mgmt()
528 dc_plane_state->in_transfer_func->type = TF_TYPE_BYPASS; in amdgpu_dm_update_plane_color_mgmt()
529 dc_plane_state->in_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_plane_color_mgmt()
Damdgpu_dm.c7217 bundle->surface_updates[planes_count].in_transfer_func = dc_plane->in_transfer_func; in amdgpu_dm_commit_planes()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c48 plane_state->in_transfer_func = dc_create_transfer_func(); in dc_plane_construct()
49 if (plane_state->in_transfer_func != NULL) { in dc_plane_construct()
50 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.c1876 if (u->in_transfer_func) in det_surface_update()
2122 if (srf_update->in_transfer_func && in copy_surface_update_to_plane()
2123 (surface->in_transfer_func != in copy_surface_update_to_plane()
2124 srf_update->in_transfer_func)) { in copy_surface_update_to_plane()
2125 surface->in_transfer_func->sdr_ref_white_level = in copy_surface_update_to_plane()
2126 srf_update->in_transfer_func->sdr_ref_white_level; in copy_surface_update_to_plane()
2127 surface->in_transfer_func->tf = in copy_surface_update_to_plane()
2128 srf_update->in_transfer_func->tf; in copy_surface_update_to_plane()
2129 surface->in_transfer_func->type = in copy_surface_update_to_plane()
2130 srf_update->in_transfer_func->type; in copy_surface_update_to_plane()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c157 if (plane_state->in_transfer_func && in dcn30_set_input_transfer_func()
158 plane_state->in_transfer_func->type == TF_TYPE_PREDEFINED) in dcn30_set_input_transfer_func()
159 tf = plane_state->in_transfer_func->tf; in dcn30_set_input_transfer_func()
163 if (plane_state->in_transfer_func) { in dcn30_set_input_transfer_func()
164 if (plane_state->in_transfer_func->type == TF_TYPE_HWPWL) in dcn30_set_input_transfer_func()
165 params = &plane_state->in_transfer_func->pwl; in dcn30_set_input_transfer_func()
166 else if (plane_state->in_transfer_func->type == TF_TYPE_DISTRIBUTED_POINTS && in dcn30_set_input_transfer_func()
167 cm3_helper_translate_curve_to_hw_format(plane_state->in_transfer_func, in dcn30_set_input_transfer_func()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc.h840 struct dc_transfer_func *in_transfer_func; member
921 const struct dc_transfer_func *in_transfer_func; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c905 if (plane_state->in_transfer_func) in dcn20_set_input_transfer_func()
906 tf = plane_state->in_transfer_func; in dcn20_set_input_transfer_func()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c287 if (plane_state->in_transfer_func) in dce110_set_input_transfer_func()
288 tf = plane_state->in_transfer_func; in dce110_set_input_transfer_func()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1594 if (plane_state->in_transfer_func) in dcn10_set_input_transfer_func()
1595 tf = plane_state->in_transfer_func; in dcn10_set_input_transfer_func()