Home
last modified time | relevance | path

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

/openbsd-src/sys/dev/pci/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.c5574 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_audio_info()
5575 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_audio_info()
6182 if (stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) in amdgpu_dm_connector_detect()
8361 bundle->stream_update.out_transfer_func = in amdgpu_dm_commit_planes()
8362 acrtc_state->stream->out_transfer_func; in amdgpu_dm_commit_planes()
/openbsd-src/sys/dev/pci/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()
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 Damdgpu_dc.c2623 if (dc->debug.enable_legacy_fast_update && stream_update->out_transfer_func) in check_update_surfaces_for_stream()
2658 if (!dc->debug.enable_legacy_fast_update && stream_update->out_transfer_func) in check_update_surfaces_for_stream()
2875 if (update->out_transfer_func && in copy_stream_update_to_stream()
2876 stream->out_transfer_func != update->out_transfer_func) { in copy_stream_update_to_stream()
2877 stream->out_transfer_func->sdr_ref_white_level = in copy_stream_update_to_stream()
2878 update->out_transfer_func->sdr_ref_white_level; in copy_stream_update_to_stream()
2879 stream->out_transfer_func->tf = update->out_transfer_func->tf; in copy_stream_update_to_stream()
2880 stream->out_transfer_func in copy_stream_update_to_stream()
[all...]
H A Ddc_resource.c3298 stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in set_avi_info_frame()
/openbsd-src/sys/dev/pci/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()
/openbsd-src/sys/dev/pci/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.h440 struct dc_transfer_func *out_transfer_func;
439 struct dc_transfer_func *out_transfer_func; global() member
H A Ddc.h1292 struct dc_transfer_func *out_transfer_func; member
/openbsd-src/sys/dev/pci/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()
/openbsd-src/sys/dev/pci/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()
/openbsd-src/sys/dev/pci/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()
/openbsd-src/sys/dev/pci/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()