Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c384 stream->out_transfer_func->type = TF_TYPE_DISTRIBUTED_POINTS; in amdgpu_dm_update_crtc_color_mgmt()
385 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in amdgpu_dm_update_crtc_color_mgmt()
387 r = __set_legacy_tf(stream->out_transfer_func, regamma_lut, in amdgpu_dm_update_crtc_color_mgmt()
393 stream->out_transfer_func->type = TF_TYPE_DISTRIBUTED_POINTS; in amdgpu_dm_update_crtc_color_mgmt()
394 stream->out_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_crtc_color_mgmt()
396 r = __set_output_tf(stream->out_transfer_func, regamma_lut, in amdgpu_dm_update_crtc_color_mgmt()
405 stream->out_transfer_func->type = TF_TYPE_BYPASS; in amdgpu_dm_update_crtc_color_mgmt()
406 stream->out_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_crtc_color_mgmt()
Damdgpu_dm.c5407 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode()
5408 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode()
8729 bundle->stream_update.out_transfer_func = in amdgpu_dm_commit_planes()
8730 acrtc_state->stream->out_transfer_func; in amdgpu_dm_commit_planes()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c120 stream->out_transfer_func = dc_create_transfer_func(); in dc_stream_construct()
121 if (stream->out_transfer_func == NULL) { in dc_stream_construct()
125 stream->out_transfer_func->type = TF_TYPE_BYPASS; in dc_stream_construct()
136 if (stream->out_transfer_func != NULL) { in dc_stream_destruct()
137 dc_transfer_func_release(stream->out_transfer_func); in dc_stream_destruct()
138 stream->out_transfer_func = NULL; in dc_stream_destruct()
199 if (new_stream->out_transfer_func) in dc_copy_stream()
200 dc_transfer_func_retain(new_stream->out_transfer_func); in dc_copy_stream()
450 wb_info->dwb_params.out_transfer_func = stream->out_transfer_func; in dc_stream_add_writeback()
Ddc_hw_sequencer.c380 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in get_hdr_visual_confirm_color()
383 } 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()
Ddc.c2199 if (stream_update->out_transfer_func) in check_update_surfaces_for_stream()
2437 if (update->out_transfer_func && in copy_stream_update_to_stream()
2438 stream->out_transfer_func != update->out_transfer_func) { in copy_stream_update_to_stream()
2439 stream->out_transfer_func->sdr_ref_white_level = in copy_stream_update_to_stream()
2440 update->out_transfer_func->sdr_ref_white_level; in copy_stream_update_to_stream()
2441 stream->out_transfer_func->tf = update->out_transfer_func->tf; in copy_stream_update_to_stream()
2442 stream->out_transfer_func->type = in copy_stream_update_to_stream()
2443 update->out_transfer_func->type; in copy_stream_update_to_stream()
2444 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
2445 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
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()
Ddcn30_hwseq.c200 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn30_set_output_transfer_func()
201 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn30_set_output_transfer_func()
202 params = &stream->out_transfer_func->pwl; in dcn30_set_output_transfer_func()
203 else if (pipe_ctx->stream->out_transfer_func->type == in dcn30_set_output_transfer_func()
206 stream->out_transfer_func, in dcn30_set_output_transfer_func()
210 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn30_set_output_transfer_func()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h171 struct dc_transfer_func *out_transfer_func; member
259 struct dc_transfer_func *out_transfer_func; member
Ddc_types.h487 struct dc_transfer_func *out_transfer_func; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c809 && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn20_set_output_transfer_func()
810 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn20_set_output_transfer_func()
811 params = &stream->out_transfer_func->pwl; in dcn20_set_output_transfer_func()
812 else if (pipe_ctx->stream->out_transfer_func->type == in dcn20_set_output_transfer_func()
815 stream->out_transfer_func, in dcn20_set_output_transfer_func()
821 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn20_set_output_transfer_func()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1722 if (stream->out_transfer_func && in dcn10_set_output_transfer_func()
1723 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func()
1724 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func()
1731 stream->out_transfer_func, in dcn10_set_output_transfer_func()
1740 stream->out_transfer_func != NULL) { in dcn10_set_output_transfer_func()
1742 stream->out_transfer_func, in dcn10_set_output_transfer_func()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c618 if (stream->out_transfer_func && in dce110_set_output_transfer_func()
619 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func()
620 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func()
622 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()