Searched refs:out_transfer_func (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/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 | 5541 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode() 5542 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode() 6141 if (stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) in create_stream_for_sink() 8319 bundle->stream_update.out_transfer_func = in amdgpu_dm_commit_planes() 8320 acrtc_state->stream->out_transfer_func; in amdgpu_dm_commit_planes()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_stream.c | 117 stream->out_transfer_func = dc_create_transfer_func(); in dc_stream_construct() 118 if (stream->out_transfer_func == NULL) { in dc_stream_construct() 122 stream->out_transfer_func->type = TF_TYPE_BYPASS; in dc_stream_construct() 133 if (stream->out_transfer_func != NULL) { in dc_stream_destruct() 134 dc_transfer_func_release(stream->out_transfer_func); in dc_stream_destruct() 135 stream->out_transfer_func = NULL; in dc_stream_destruct() 196 if (new_stream->out_transfer_func) in dc_copy_stream() 197 dc_transfer_func_retain(new_stream->out_transfer_func); in dc_copy_stream() 493 wb_info->dwb_params.out_transfer_func = stream->out_transfer_func; in dc_stream_add_writeback()
|
D | dc_hw_sequencer.c | 392 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in get_hdr_visual_confirm_color() 395 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in get_hdr_visual_confirm_color() 403 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in get_hdr_visual_confirm_color() 406 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in get_hdr_visual_confirm_color()
|
D | dc.c | 2619 if (dc->debug.enable_legacy_fast_update && stream_update->out_transfer_func) in check_update_surfaces_for_stream() 2654 if (!dc->debug.enable_legacy_fast_update && stream_update->out_transfer_func) in check_update_surfaces_for_stream() 2871 if (update->out_transfer_func && in copy_stream_update_to_stream() 2872 stream->out_transfer_func != update->out_transfer_func) { in copy_stream_update_to_stream() 2873 stream->out_transfer_func->sdr_ref_white_level = in copy_stream_update_to_stream() 2874 update->out_transfer_func->sdr_ref_white_level; in copy_stream_update_to_stream() 2875 stream->out_transfer_func->tf = update->out_transfer_func->tf; in copy_stream_update_to_stream() 2876 stream->out_transfer_func->type = in copy_stream_update_to_stream() 2877 update->out_transfer_func->type; in copy_stream_update_to_stream() 2878 memcpy(&stream->out_transfer_func->tf_pts, in copy_stream_update_to_stream() [all …]
|
D | dc_resource.c | 3291 stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in set_avi_info_frame()
|
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc_stream.h | 210 struct dc_transfer_func *out_transfer_func; member 314 struct dc_transfer_func *out_transfer_func; member
|
D | dc_types.h | 439 struct dc_transfer_func *out_transfer_func; member
|
D | dc.h | 1292 struct dc_transfer_func *out_transfer_func; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 575 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn32_set_output_transfer_func() 576 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn32_set_output_transfer_func() 577 params = &stream->out_transfer_func->pwl; in dcn32_set_output_transfer_func() 578 else if (pipe_ctx->stream->out_transfer_func->type == in dcn32_set_output_transfer_func() 581 stream->out_transfer_func, in dcn32_set_output_transfer_func() 585 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn32_set_output_transfer_func()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hwseq.c | 865 && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn20_set_output_transfer_func() 866 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn20_set_output_transfer_func() 867 params = &stream->out_transfer_func->pwl; in dcn20_set_output_transfer_func() 868 else if (pipe_ctx->stream->out_transfer_func->type == in dcn20_set_output_transfer_func() 871 stream->out_transfer_func, in dcn20_set_output_transfer_func() 877 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn20_set_output_transfer_func()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 1840 if (stream->out_transfer_func && in dcn10_set_output_transfer_func() 1841 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func() 1842 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func() 1849 stream->out_transfer_func, in dcn10_set_output_transfer_func() 1858 stream->out_transfer_func != NULL) { in dcn10_set_output_transfer_func() 1860 stream->out_transfer_func, in dcn10_set_output_transfer_func()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 614 if (stream->out_transfer_func && in dce110_set_output_transfer_func() 615 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func() 616 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func() 618 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()
|