Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c347 stream->out_transfer_func->type = TF_TYPE_DISTRIBUTED_POINTS; in amdgpu_dm_update_crtc_color_mgmt()
348 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in amdgpu_dm_update_crtc_color_mgmt()
350 r = __set_legacy_tf(stream->out_transfer_func, regamma_lut, in amdgpu_dm_update_crtc_color_mgmt()
356 stream->out_transfer_func->type = TF_TYPE_DISTRIBUTED_POINTS; in amdgpu_dm_update_crtc_color_mgmt()
357 stream->out_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_crtc_color_mgmt()
359 r = __set_output_tf(stream->out_transfer_func, regamma_lut, in amdgpu_dm_update_crtc_color_mgmt()
368 stream->out_transfer_func->type = TF_TYPE_BYPASS; in amdgpu_dm_update_crtc_color_mgmt()
369 stream->out_transfer_func->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_update_crtc_color_mgmt()
Damdgpu_dm.c3366 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode()
3367 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode()
5881 bundle->stream_update.out_transfer_func = in amdgpu_dm_commit_planes()
5882 acrtc_state->stream->out_transfer_func; in amdgpu_dm_commit_planes()
7114 stream_update.out_transfer_func = in dm_determine_update_type_for_commit()
7115 new_dm_crtc_state->stream->out_transfer_func; in dm_determine_update_type_for_commit()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c124 stream->out_transfer_func = dc_create_transfer_func(); in construct()
125 stream->out_transfer_func->type = TF_TYPE_BYPASS; in construct()
126 stream->out_transfer_func->ctx = stream->ctx; in construct()
135 if (stream->out_transfer_func != NULL) { in destruct()
136 dc_transfer_func_release(stream->out_transfer_func); in destruct()
137 stream->out_transfer_func = NULL; in destruct()
191 if (new_stream->out_transfer_func) in dc_copy_stream()
192 dc_transfer_func_retain(new_stream->out_transfer_func); in dc_copy_stream()
394 wb_info->dwb_params.out_transfer_func = stream->out_transfer_func; in dc_stream_add_writeback()
Ddc.c1582 if (stream_update->out_transfer_func) in check_update_surfaces_for_stream()
1787 if (update->out_transfer_func && in copy_stream_update_to_stream()
1788 stream->out_transfer_func != update->out_transfer_func) { in copy_stream_update_to_stream()
1789 stream->out_transfer_func->sdr_ref_white_level = in copy_stream_update_to_stream()
1790 update->out_transfer_func->sdr_ref_white_level; in copy_stream_update_to_stream()
1791 stream->out_transfer_func->tf = update->out_transfer_func->tf; in copy_stream_update_to_stream()
1792 stream->out_transfer_func->type = in copy_stream_update_to_stream()
1793 update->out_transfer_func->type; in copy_stream_update_to_stream()
1794 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
1795 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h143 struct dc_transfer_func *out_transfer_func; member
222 struct dc_transfer_func *out_transfer_func; member
Ddc_types.h454 struct dc_transfer_func *out_transfer_func; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c668 && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn20_set_output_transfer_func()
669 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn20_set_output_transfer_func()
670 params = &stream->out_transfer_func->pwl; in dcn20_set_output_transfer_func()
671 else if (pipe_ctx->stream->out_transfer_func->type == in dcn20_set_output_transfer_func()
674 stream->out_transfer_func, in dcn20_set_output_transfer_func()
680 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn20_set_output_transfer_func()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1478 if (stream->out_transfer_func && in dcn10_set_output_transfer_func()
1479 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func()
1480 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func()
1487 stream->out_transfer_func, in dcn10_set_output_transfer_func()
1496 stream->out_transfer_func != NULL) { in dcn10_set_output_transfer_func()
1498 stream->out_transfer_func, in dcn10_set_output_transfer_func()
2075 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in dcn10_get_hdr_visual_confirm_color()
2081 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in dcn10_get_hdr_visual_confirm_color()
2084 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in dcn10_get_hdr_visual_confirm_color()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c607 if (stream->out_transfer_func && in dce110_set_output_transfer_func()
608 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func()
609 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func()
611 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()