Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
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()
Damdgpu_dm.c2386 stream->out_transfer_func->type = TF_TYPE_PREDEFINED; in fill_stream_properties_from_drm_display_mode()
2387 stream->out_transfer_func->tf = TRANSFER_FUNCTION_SRGB; in fill_stream_properties_from_drm_display_mode()
4178 stream_update->out_transfer_func = dc_stream->out_transfer_func; in commit_planes_to_stream()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
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()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h65 struct dc_transfer_func *out_transfer_func; member
118 struct dc_transfer_func *out_transfer_func; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1243 if (stream->out_transfer_func && in dcn10_set_output_transfer_func()
1244 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dcn10_set_output_transfer_func()
1245 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) in dcn10_set_output_transfer_func()
1252 stream->out_transfer_func, in dcn10_set_output_transfer_func()
1797 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_UNITY) { in dcn10_get_hdr_visual_confirm_color()
1803 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) { in dcn10_get_hdr_visual_confirm_color()
1806 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) { in dcn10_get_hdr_visual_confirm_color()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c600 if (stream->out_transfer_func && in dce110_set_output_transfer_func()
601 stream->out_transfer_func->type == TF_TYPE_PREDEFINED && in dce110_set_output_transfer_func()
602 stream->out_transfer_func->tf == TRANSFER_FUNCTION_SRGB) { in dce110_set_output_transfer_func()
604 } else if (dce110_translate_regamma_to_hw_format(stream->out_transfer_func, in dce110_set_output_transfer_func()