Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c128 enum dc_transfer_func_type old_type = stream->out_transfer_func->type; in amdgpu_dm_set_regamma_lut()
134 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in amdgpu_dm_set_regamma_lut()
135 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in amdgpu_dm_set_regamma_lut()
163 stream->out_transfer_func->type = TF_TYPE_DISTRIBUTED_POINTS; in amdgpu_dm_set_regamma_lut()
164 ret = mod_color_calculate_regamma_params(stream->out_transfer_func, in amdgpu_dm_set_regamma_lut()
168 stream->out_transfer_func->type = old_type; in amdgpu_dm_set_regamma_lut()
H A Damdgpu_dm.c2415 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode()
2416 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode()
4227 stream_update->out_transfer_func = dc_stream->out_transfer_func; in commit_planes_to_stream()
/dragonfly/sys/dev/drm/amd/display/dc/core/
H A Ddc_stream.c107 stream->out_transfer_func = dc_create_transfer_func(); in construct()
108 stream->out_transfer_func->type = TF_TYPE_BYPASS; in construct()
114 if (stream->out_transfer_func != NULL) { in destruct()
115 dc_transfer_func_release(stream->out_transfer_func); in destruct()
116 stream->out_transfer_func = NULL; in destruct()
/dragonfly/sys/dev/drm/amd/display/dc/
H A Ddc_stream.h65 struct dc_transfer_func *out_transfer_func; member
118 struct dc_transfer_func *out_transfer_func; member
/dragonfly/sys/dev/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c1248 if (stream->out_transfer_func && in dcn10_set_output_transfer_func()
1249 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func()
1250 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func()
1257 stream->out_transfer_func, in dcn10_set_output_transfer_func()
1802 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_UNITY) { in dcn10_get_hdr_visual_confirm_color()
1808 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in dcn10_get_hdr_visual_confirm_color()
1811 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in dcn10_get_hdr_visual_confirm_color()
/dragonfly/sys/dev/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c603 if (stream->out_transfer_func && in dce110_set_output_transfer_func()
604 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func()
605 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func()
607 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()