Home
last modified time | relevance | path

Searched refs:svp_pstate (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_mall_phantom.c54 ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe) == SUBVP_PHANTOM) { in dml2_helper_calculate_num_ways_for_subvp()
125 …ctx->config.svp_pstate.callbacks.release_dsc(&context->res_ctx, ctx->config.svp_pstate.callbacks.d… in merge_pipes_for_subvp()
256 …ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe) == SUBVP_NONE && refresh_rate … in assign_subvp_pipe()
320 ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(state, pipe) == SUBVP_NONE) { in enough_pipes_for_subvp()
375 ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe) == SUBVP_MAIN) { in subvp_subvp_schedulable()
376 phantom = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, pipe->stream); in subvp_subvp_schedulable()
383 ctx->config.svp_pstate.subvp_prefetch_end_to_mall_start_us + in subvp_subvp_schedulable()
384 ctx->config.svp_pstate.subvp_fw_processing_delay_us + 1; in subvp_subvp_schedulable()
457 if (ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe) == SUBVP_MAIN) in dml2_svp_drr_schedulable()
461 phantom_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, pipe->stream); in dml2_svp_drr_schedulable()
[all …]
Ddml2_dc_resource_mgmt.c816 if (ctx->config.svp_pstate.callbacks.get_stream_subvp_type(state, stream) == SUBVP_PHANTOM) { in get_target_mpc_factor()
821 main_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(state, stream); in get_target_mpc_factor()
878 if (ctx->config.svp_pstate.callbacks.get_stream_subvp_type(state, stream) == SUBVP_PHANTOM) { in get_target_odm_factor()
882 main_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(state, stream); in get_target_odm_factor()
Ddml2_wrapper.h224 } svp_pstate; member
Ddml2_wrapper.c169 … pstate_width_fw_delay_lines = (int)(((double)(p->config->svp_pstate.subvp_fw_processing_delay_us + in optimize_configuration()
170 p->config->svp_pstate.subvp_pstate_allow_width_us) / 1000000) * in optimize_configuration()
444 bool force_svp = dml2->config.svp_pstate.force_enable_subvp; in optimize_pstate_with_svp_and_drr()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_utils.c127 …dc_phantom_stream = dml_ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, dc_main_… in dml21_find_dc_pipes_for_plane()
262 if (in_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, dc_pipe) != SUBVP_PHANTOM) { in dml21_populate_mall_allocation_size()
307 if (dml_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe_ctx) == SUBVP_PHANTOM) { in dml21_program_dc_pipe()
350 …phantom_stream = dml_ctx->config.svp_pstate.callbacks.create_phantom_stream(dc, context, main_stre… in dml21_add_phantom_stream()
373 dml_ctx->config.svp_pstate.callbacks.add_phantom_stream(dc, context, phantom_stream, main_stream); in dml21_add_phantom_stream()
387 phantom_plane = dml_ctx->config.svp_pstate.callbacks.create_phantom_plane(dc, context, main_plane); in dml21_add_phantom_plane()
415 dml_ctx->config.svp_pstate.callbacks.add_phantom_plane(dc, phantom_stream, phantom_plane, context); in dml21_add_phantom_plane()
499 dml_ctx->config.svp_pstate.callbacks.get_stream_subvp_type(context, stream) == SUBVP_PHANTOM) { in dml21_build_fams2_programming()
538 phantom_stream = dml_ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, stream); in dml21_build_fams2_programming()
Ddml21_wrapper.c211 dml_ctx->config.svp_pstate.callbacks.remove_phantom_streams_and_planes(in_dc, context); in dml21_mode_check_and_programming()
212 dml_ctx->config.svp_pstate.callbacks.release_phantom_streams_and_planes(in_dc, context); in dml21_mode_check_and_programming()
263 dml_ctx->config.svp_pstate.callbacks.remove_phantom_streams_and_planes(in_dc, context); in dml21_check_mode_support()
264 dml_ctx->config.svp_pstate.callbacks.release_phantom_streams_and_planes(in_dc, context); in dml21_check_mode_support()
Ddml21_translation_helper.c1121 if (dml_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe_ctx) == SUBVP_PHANTOM) { in dml21_populate_pipe_ctx_dlg_params()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn321/
Ddcn321_resource.c2024 dc->dml2_options.svp_pstate.callbacks.release_dsc = &dcn20_release_dsc; in dcn321_resource_construct()
2025 …dc->dml2_options.svp_pstate.callbacks.calculate_mall_ways_from_bytes = pool->base.funcs->calculate… in dcn321_resource_construct()
2027 dc->dml2_options.svp_pstate.subvp_fw_processing_delay_us = dc->caps.subvp_fw_processing_delay_us; in dcn321_resource_construct()
2028 …dc->dml2_options.svp_pstate.subvp_prefetch_end_to_mall_start_us = dc->caps.subvp_prefetch_end_to_m… in dcn321_resource_construct()
2029 dc->dml2_options.svp_pstate.subvp_pstate_allow_width_us = dc->caps.subvp_pstate_allow_width_us; in dcn321_resource_construct()
2030 …dc->dml2_options.svp_pstate.subvp_swath_height_margin_lines = dc->caps.subvp_swath_height_margin_l… in dcn321_resource_construct()
2032 dc->dml2_options.svp_pstate.force_disable_subvp = dc->debug.force_disable_subvp; in dcn321_resource_construct()
2033 dc->dml2_options.svp_pstate.force_enable_subvp = dc->debug.force_subvp_mclk_switch; in dcn321_resource_construct()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn401/
Ddcn401_resource.c2110 dc->dml2_options.svp_pstate.callbacks.release_dsc = &dcn20_release_dsc; in dcn401_resource_construct()
2111 …dc->dml2_options.svp_pstate.callbacks.calculate_mall_ways_from_bytes = pool->base.funcs->calculate… in dcn401_resource_construct()
2113 dc->dml2_options.svp_pstate.subvp_fw_processing_delay_us = dc->caps.subvp_fw_processing_delay_us; in dcn401_resource_construct()
2114 …dc->dml2_options.svp_pstate.subvp_prefetch_end_to_mall_start_us = dc->caps.subvp_prefetch_end_to_m… in dcn401_resource_construct()
2115 dc->dml2_options.svp_pstate.subvp_pstate_allow_width_us = dc->caps.subvp_pstate_allow_width_us; in dcn401_resource_construct()
2116 …dc->dml2_options.svp_pstate.subvp_swath_height_margin_lines = dc->caps.subvp_swath_height_margin_l… in dcn401_resource_construct()
2118 dc->dml2_options.svp_pstate.force_disable_subvp = dc->debug.force_disable_subvp; in dcn401_resource_construct()
2119 dc->dml2_options.svp_pstate.force_enable_subvp = dc->debug.force_subvp_mclk_switch; in dcn401_resource_construct()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c5255 dml2_options->svp_pstate.callbacks.dc = dc; in resource_init_common_dml2_callbacks()
5256 dml2_options->svp_pstate.callbacks.add_phantom_plane = &dc_state_add_phantom_plane; in resource_init_common_dml2_callbacks()
5257 dml2_options->svp_pstate.callbacks.add_phantom_stream = &dc_state_add_phantom_stream; in resource_init_common_dml2_callbacks()
5258 dml2_options->svp_pstate.callbacks.build_scaling_params = &resource_build_scaling_params; in resource_init_common_dml2_callbacks()
5259 dml2_options->svp_pstate.callbacks.create_phantom_plane = &dc_state_create_phantom_plane; in resource_init_common_dml2_callbacks()
5260 dml2_options->svp_pstate.callbacks.remove_phantom_plane = &dc_state_remove_phantom_plane; in resource_init_common_dml2_callbacks()
5261 dml2_options->svp_pstate.callbacks.remove_phantom_stream = &dc_state_remove_phantom_stream; in resource_init_common_dml2_callbacks()
5262 dml2_options->svp_pstate.callbacks.create_phantom_stream = &dc_state_create_phantom_stream; in resource_init_common_dml2_callbacks()
5263 dml2_options->svp_pstate.callbacks.release_phantom_plane = &dc_state_release_phantom_plane; in resource_init_common_dml2_callbacks()
5264 dml2_options->svp_pstate.callbacks.release_phantom_stream = &dc_state_release_phantom_stream; in resource_init_common_dml2_callbacks()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/
Ddcn32_resource.c2472 dc->dml2_options.svp_pstate.callbacks.release_dsc = &dcn20_release_dsc; in dcn32_resource_construct()
2473 …dc->dml2_options.svp_pstate.callbacks.calculate_mall_ways_from_bytes = pool->base.funcs->calculate… in dcn32_resource_construct()
2475 dc->dml2_options.svp_pstate.subvp_fw_processing_delay_us = dc->caps.subvp_fw_processing_delay_us; in dcn32_resource_construct()
2476 …dc->dml2_options.svp_pstate.subvp_prefetch_end_to_mall_start_us = dc->caps.subvp_prefetch_end_to_m… in dcn32_resource_construct()
2477 dc->dml2_options.svp_pstate.subvp_pstate_allow_width_us = dc->caps.subvp_pstate_allow_width_us; in dcn32_resource_construct()
2478 …dc->dml2_options.svp_pstate.subvp_swath_height_margin_lines = dc->caps.subvp_swath_height_margin_l… in dcn32_resource_construct()
2480 dc->dml2_options.svp_pstate.force_disable_subvp = dc->debug.force_disable_subvp; in dcn32_resource_construct()
2481 dc->dml2_options.svp_pstate.force_enable_subvp = dc->debug.force_subvp_mclk_switch; in dcn32_resource_construct()