Home
last modified time | relevance | path

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

/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.c9111 bundle->surface_updates[planes_count].in_transfer_func = dc_plane->in_transfer_func; in amdgpu_dm_commit_planes()
/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.c2145 if (u->in_transfer_func) in det_surface_update()
2395 if (srf_update->in_transfer_func && in copy_surface_update_to_plane()
2396 (surface->in_transfer_func != in copy_surface_update_to_plane()
2397 srf_update->in_transfer_func)) { in copy_surface_update_to_plane()
2398 surface->in_transfer_func->sdr_ref_white_level = in copy_surface_update_to_plane()
2399 srf_update->in_transfer_func->sdr_ref_white_level; in copy_surface_update_to_plane()
2400 surface->in_transfer_func->tf = in copy_surface_update_to_plane()
2401 srf_update->in_transfer_func->tf; in copy_surface_update_to_plane()
2402 surface->in_transfer_func->type = in copy_surface_update_to_plane()
2403 srf_update->in_transfer_func->type; in copy_surface_update_to_plane()
[all …]
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c159 if (plane_state->in_transfer_func && in dcn30_set_input_transfer_func()
160 plane_state->in_transfer_func->type == TF_TYPE_PREDEFINED) in dcn30_set_input_transfer_func()
161 tf = plane_state->in_transfer_func->tf; in dcn30_set_input_transfer_func()
165 if (plane_state->in_transfer_func) { in dcn30_set_input_transfer_func()
166 if (plane_state->in_transfer_func->type == TF_TYPE_HWPWL) in dcn30_set_input_transfer_func()
167 params = &plane_state->in_transfer_func->pwl; in dcn30_set_input_transfer_func()
168 else if (plane_state->in_transfer_func->type == TF_TYPE_DISTRIBUTED_POINTS && in dcn30_set_input_transfer_func()
169 cm3_helper_translate_curve_to_hw_format(plane_state->in_transfer_func, in dcn30_set_input_transfer_func()
/drivers/gpu/drm/amd/display/dc/
Ddc.h908 struct dc_transfer_func *in_transfer_func; member
992 const struct dc_transfer_func *in_transfer_func; member
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c293 if (plane_state->in_transfer_func) in dce110_set_input_transfer_func()
294 tf = plane_state->in_transfer_func; in dce110_set_input_transfer_func()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c899 if (plane_state->in_transfer_func) in dcn20_set_input_transfer_func()
900 tf = plane_state->in_transfer_func; in dcn20_set_input_transfer_func()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1670 if (plane_state->in_transfer_func) in dcn10_set_input_transfer_func()
1671 tf = plane_state->in_transfer_func; in dcn10_set_input_transfer_func()