Home
last modified time | relevance | path

Searched refs:out_transfer_func (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A 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()
H A Damdgpu_dm.c4573 stream->out_transfer_func->type = TF_TYPE_PREDEFINED;
4574 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB;
7433 bundle->stream_update.out_transfer_func =
7434 acrtc_state->stream->out_transfer_func;
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H 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()
H A Damdgpu_dm.c5539 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode()
5540 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode()
6139 if (stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) in create_stream_for_sink()
8317 bundle->stream_update.out_transfer_func = in amdgpu_dm_commit_planes()
8318 acrtc_state->stream->out_transfer_func; in amdgpu_dm_commit_planes()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A 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()
422 wb_info->dwb_params.out_transfer_func = stream->out_transfer_func; in dc_stream_add_writeback()
[all...]
H A Ddc.c1961 if (stream_update->out_transfer_func) in check_update_surfaces_for_stream()
2199 if (update->out_transfer_func && in copy_stream_update_to_stream()
2200 stream->out_transfer_func != update->out_transfer_func) { in copy_stream_update_to_stream()
2201 stream->out_transfer_func->sdr_ref_white_level = in copy_stream_update_to_stream()
2202 update->out_transfer_func->sdr_ref_white_level; in copy_stream_update_to_stream()
2203 stream->out_transfer_func->tf = update->out_transfer_func->tf; in copy_stream_update_to_stream()
2204 stream->out_transfer_func->type = in copy_stream_update_to_stream()
2205 update->out_transfer_func in copy_stream_update_to_stream()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c117 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()
[all...]
H A Ddc_hw_sequencer.c392 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()
H A Ddc.c2619 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 in copy_stream_update_to_stream()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hwseq.c198 if (ret == false && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn30_set_output_transfer_func()
199 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn30_set_output_transfer_func()
200 params = &stream->out_transfer_func->pwl; in dcn30_set_output_transfer_func()
201 else if (pipe_ctx->stream->out_transfer_func->type == in dcn30_set_output_transfer_func()
204 stream->out_transfer_func, in dcn30_set_output_transfer_func()
208 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn30_set_output_transfer_func()
H 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H 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()
H 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h160 struct dc_transfer_func *out_transfer_func; member
242 struct dc_transfer_func *out_transfer_func; member
H A Ddc_types.h535 struct dc_transfer_func *out_transfer_func; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h210 struct dc_transfer_func *out_transfer_func; member
314 struct dc_transfer_func *out_transfer_func; member
H A Ddc_types.h439 struct dc_transfer_func *out_transfer_func; member
H A Ddc.h1292 struct dc_transfer_func *out_transfer_func; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.c575 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c1677 if (stream->out_transfer_func && in dcn10_set_output_transfer_func()
1678 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func()
1679 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func()
1686 stream->out_transfer_func, in dcn10_set_output_transfer_func()
1695 stream->out_transfer_func != NULL) { in dcn10_set_output_transfer_func()
1697 stream->out_transfer_func, in dcn10_set_output_transfer_func()
2322 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in dcn10_get_hdr_visual_confirm_color()
2325 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in dcn10_get_hdr_visual_confirm_color()
2332 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in dcn10_get_hdr_visual_confirm_color()
2335 } else if (top_pipe_ctx->stream->out_transfer_func in dcn10_get_hdr_visual_confirm_color()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c815 && mpc->funcs->set_output_gamma && stream->out_transfer_func) { in dcn20_set_output_transfer_func()
816 if (stream->out_transfer_func->type == TF_TYPE_HWPWL) in dcn20_set_output_transfer_func()
817 params = &stream->out_transfer_func->pwl; in dcn20_set_output_transfer_func()
818 else if (pipe_ctx->stream->out_transfer_func->type == in dcn20_set_output_transfer_func()
821 stream->out_transfer_func, in dcn20_set_output_transfer_func()
827 if (stream->out_transfer_func->type == TF_TYPE_PREDEFINED) in dcn20_set_output_transfer_func()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c865 && 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c612 if (stream->out_transfer_func && in dce110_set_output_transfer_func()
613 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func()
614 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func()
616 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c1843 if (stream->out_transfer_func && in dcn10_set_output_transfer_func()
1844 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func()
1845 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func()
1852 stream->out_transfer_func, in dcn10_set_output_transfer_func()
1861 stream->out_transfer_func) { in dcn10_set_output_transfer_func()
1863 stream->out_transfer_func, in dcn10_set_output_transfer_func()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c614 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()

Completed in 71 milliseconds

12