Searched refs:out_transfer_func (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_color.c | 440 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()
|
D | amdgpu_dm.c | 5280 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode() 5281 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode() 7817 bundle->stream_update.out_transfer_func = in amdgpu_dm_commit_planes() 7818 acrtc_state->stream->out_transfer_func; in amdgpu_dm_commit_planes()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_stream.c | 118 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() 455 wb_info->dwb_params.out_transfer_func = stream->out_transfer_func; in dc_stream_add_writeback()
|
D | dc_hw_sequencer.c | 378 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in get_hdr_visual_confirm_color() 381 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in get_hdr_visual_confirm_color() 388 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in get_hdr_visual_confirm_color() 391 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in get_hdr_visual_confirm_color()
|
D | dc.c | 2453 if (stream_update->out_transfer_func) in check_update_surfaces_for_stream() 2790 if (update->out_transfer_func && in copy_stream_update_to_stream() 2791 stream->out_transfer_func != update->out_transfer_func) { in copy_stream_update_to_stream() 2792 stream->out_transfer_func->sdr_ref_white_level = in copy_stream_update_to_stream() 2793 update->out_transfer_func->sdr_ref_white_level; in copy_stream_update_to_stream() 2794 stream->out_transfer_func->tf = update->out_transfer_func->tf; in copy_stream_update_to_stream() 2795 stream->out_transfer_func->type = in copy_stream_update_to_stream() 2796 update->out_transfer_func->type; in copy_stream_update_to_stream() 2797 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream() 2798 &update->out_transfer_func->tf_pts, in copy_stream_update_to_stream()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dwb.c | 105 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()
|
D | dcn30_hwseq.c | 202 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.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_stream.h | 188 struct dc_transfer_func *out_transfer_func; member 279 struct dc_transfer_func *out_transfer_func; member
|
D | dc_types.h | 509 struct dc_transfer_func *out_transfer_func; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 654 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn32_set_output_transfer_func() 655 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn32_set_output_transfer_func() 656 params = &stream->out_transfer_func->pwl; in dcn32_set_output_transfer_func() 657 else if (pipe_ctx->stream->out_transfer_func->type == in dcn32_set_output_transfer_func() 660 stream->out_transfer_func, in dcn32_set_output_transfer_func() 664 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn32_set_output_transfer_func()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hwseq.c | 841 && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn20_set_output_transfer_func() 842 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn20_set_output_transfer_func() 843 params = &stream->out_transfer_func->pwl; in dcn20_set_output_transfer_func() 844 else if (pipe_ctx->stream->out_transfer_func->type == in dcn20_set_output_transfer_func() 847 stream->out_transfer_func, in dcn20_set_output_transfer_func() 853 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn20_set_output_transfer_func()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 1854 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.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 619 if (stream->out_transfer_func && in dce110_set_output_transfer_func() 620 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func() 621 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func() 623 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()
|