Home
last modified time | relevance | path

Searched refs:out_transfer_func (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_color.c440 stream->out_transfer_func->type = TF_TYPE_DISTRIBUTED_POINTS; in amdgpu_dm_update_crtc_color_mgmt()
441 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in amdgpu_dm_update_crtc_color_mgmt()
443 r = __set_legacy_tf(stream->out_transfer_func, regamma_lut, in amdgpu_dm_update_crtc_color_mgmt()
449 stream->out_transfer_func->type = TF_TYPE_DISTRIBUTED_POINTS; in amdgpu_dm_update_crtc_color_mgmt()
450 stream->out_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_crtc_color_mgmt()
452 r = __set_output_tf(stream->out_transfer_func, regamma_lut, in amdgpu_dm_update_crtc_color_mgmt()
461 stream->out_transfer_func->type = TF_TYPE_BYPASS; in amdgpu_dm_update_crtc_color_mgmt()
462 stream->out_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_crtc_color_mgmt()
A Damdgpu_dm.c5467 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode()
5468 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode()
6063 if (stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) in create_stream_for_sink()
8156 bundle->stream_update.out_transfer_func = in amdgpu_dm_commit_planes()
8157 acrtc_state->stream->out_transfer_func; in amdgpu_dm_commit_planes()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_stream.c118 stream->out_transfer_func = dc_create_transfer_func(); in dc_stream_construct()
119 if (stream->out_transfer_func == NULL) { in dc_stream_construct()
123 stream->out_transfer_func->type = TF_TYPE_BYPASS; in dc_stream_construct()
134 if (stream->out_transfer_func != NULL) { in dc_stream_destruct()
135 dc_transfer_func_release(stream->out_transfer_func); in dc_stream_destruct()
136 stream->out_transfer_func = NULL; in dc_stream_destruct()
197 if (new_stream->out_transfer_func) in dc_copy_stream()
198 dc_transfer_func_retain(new_stream->out_transfer_func); in dc_copy_stream()
467 wb_info->dwb_params.out_transfer_func = stream->out_transfer_func; in dc_stream_add_writeback()
A Ddc_hw_sequencer.c379 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in get_hdr_visual_confirm_color()
382 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in get_hdr_visual_confirm_color()
390 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in get_hdr_visual_confirm_color()
393 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in get_hdr_visual_confirm_color()
A Ddc.c2564 if (stream_update->out_transfer_func) in check_update_surfaces_for_stream()
2901 if (update->out_transfer_func && in copy_stream_update_to_stream()
2902 stream->out_transfer_func != update->out_transfer_func) { in copy_stream_update_to_stream()
2903 stream->out_transfer_func->sdr_ref_white_level = in copy_stream_update_to_stream()
2904 update->out_transfer_func->sdr_ref_white_level; in copy_stream_update_to_stream()
2905 stream->out_transfer_func->tf = update->out_transfer_func->tf; in copy_stream_update_to_stream()
2906 stream->out_transfer_func->type = in copy_stream_update_to_stream()
2907 update->out_transfer_func->type; in copy_stream_update_to_stream()
2908 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
2909 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
A Ddc_resource.c3033 stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in set_avi_info_frame()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_dwb.c105 dwb3_ogam_set_input_transfer_func(dwbc, params->out_transfer_func); in dwb3_enable()
158 dwb3_ogam_set_input_transfer_func(dwbc, params->out_transfer_func); in dwb3_update()
A Ddcn30_hwseq.c202 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn30_set_output_transfer_func()
203 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn30_set_output_transfer_func()
204 params = &stream->out_transfer_func->pwl; in dcn30_set_output_transfer_func()
205 else if (pipe_ctx->stream->out_transfer_func->type == in dcn30_set_output_transfer_func()
208 stream->out_transfer_func, in dcn30_set_output_transfer_func()
212 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn30_set_output_transfer_func()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc_stream.h204 struct dc_transfer_func *out_transfer_func; member
306 struct dc_transfer_func *out_transfer_func; member
A Ddc_types.h446 struct dc_transfer_func *out_transfer_func; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_hwseq.c547 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn32_set_output_transfer_func()
548 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn32_set_output_transfer_func()
549 params = &stream->out_transfer_func->pwl; in dcn32_set_output_transfer_func()
550 else if (pipe_ctx->stream->out_transfer_func->type == in dcn32_set_output_transfer_func()
553 stream->out_transfer_func, in dcn32_set_output_transfer_func()
557 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn32_set_output_transfer_func()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_hwseq.c852 && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn20_set_output_transfer_func()
853 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn20_set_output_transfer_func()
854 params = &stream->out_transfer_func->pwl; in dcn20_set_output_transfer_func()
855 else if (pipe_ctx->stream->out_transfer_func->type == in dcn20_set_output_transfer_func()
858 stream->out_transfer_func, in dcn20_set_output_transfer_func()
864 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn20_set_output_transfer_func()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hw_sequencer.c1854 if (stream->out_transfer_func && in dcn10_set_output_transfer_func()
1855 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func()
1856 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func()
1863 stream->out_transfer_func, in dcn10_set_output_transfer_func()
1872 stream->out_transfer_func != NULL) { in dcn10_set_output_transfer_func()
1874 stream->out_transfer_func, in dcn10_set_output_transfer_func()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_hw_sequencer.c617 if (stream->out_transfer_func && in dce110_set_output_transfer_func()
618 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func()
619 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func()
621 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()

Completed in 68 milliseconds