Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_mall_phantom.c125 …ctx->config.svp_pstate.callbacks.release_dsc(&context->res_ctx, ctx->config.svp_pstate.callbacks.d… in merge_pipes_for_subvp()
384 ctx->config.svp_pstate.subvp_fw_processing_delay_us + 1; in subvp_subvp_schedulable()
719 ctx->config.svp_pstate.callbacks.dc, in enable_phantom_stream()
729 ctx->config.svp_pstate.callbacks.add_phantom_stream(ctx->config.svp_pstate.callbacks.dc, in enable_phantom_stream()
750 ctx->config.svp_pstate.callbacks.dc, in enable_phantom_plane()
777 …ctx->config.svp_pstate.callbacks.add_phantom_plane(ctx->config.svp_pstate.callbacks.dc, phantom_st… in enable_phantom_plane()
834 …if (!ctx->config.svp_pstate.callbacks.remove_phantom_plane(ctx->config.svp_pstate.callbacks.dc, st… in remove_all_phantom_planes_for_stream()
836 …ctx->config.svp_pstate.callbacks.release_phantom_plane(ctx->config.svp_pstate.callbacks.dc, contex… in remove_all_phantom_planes_for_stream()
855 …ctx->config.svp_pstate.callbacks.remove_phantom_stream(ctx->config.svp_pstate.callbacks.dc, state,… in dml2_svp_remove_all_phantom_pipes()
856 …ctx->config.svp_pstate.callbacks.release_phantom_stream(ctx->config.svp_pstate.callbacks.dc, state… in dml2_svp_remove_all_phantom_pipes()
[all …]
H A Ddml2_wrapper.h225 } svp_pstate; member
H A Ddml2_dc_resource_mgmt.c811 if (ctx->config.svp_pstate.callbacks.get_stream_subvp_type(state, stream) == SUBVP_PHANTOM) { in get_target_mpc_factor()
816 main_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(state, stream); in get_target_mpc_factor()
873 if (ctx->config.svp_pstate.callbacks.get_stream_subvp_type(state, stream) == SUBVP_PHANTOM) { in get_target_odm_factor()
877 main_stream = ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(state, stream); in get_target_odm_factor()
H A Ddml2_wrapper.c171 … pstate_width_fw_delay_lines = (int)(((double)(p->config->svp_pstate.subvp_fw_processing_delay_us + in optimize_configuration()
172 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.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A 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()
152 if (dml_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe_ctx) == SUBVP_PHANTOM) { in dml21_pipe_populate_global_sync()
175 if (in_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, dc_pipe) != SUBVP_PHANTOM) { in dml21_populate_mall_allocation_size()
220 if (dml_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe_ctx) == SUBVP_PHANTOM) { in dml21_program_dc_pipe()
250 …phantom_stream = dml_ctx->config.svp_pstate.callbacks.create_phantom_stream(dc, context, main_stre… in dml21_add_phantom_stream()
273 dml_ctx->config.svp_pstate.callbacks.add_phantom_stream(dc, context, phantom_stream, main_stream); in dml21_add_phantom_stream()
287 phantom_plane = dml_ctx->config.svp_pstate.callbacks.create_phantom_plane(dc, context, main_plane); in dml21_add_phantom_plane()
315 dml_ctx->config.svp_pstate.callbacks.add_phantom_plane(dc, phantom_stream, phantom_plane, context); in dml21_add_phantom_plane()
402 dml_ctx->config.svp_pstate.callbacks.get_stream_subvp_type(context, stream) == SUBVP_PHANTOM) { in dml21_build_fams2_programming()
451 phantom_stream = dml_ctx->config.svp_pstate.callbacks.get_paired_subvp_stream(context, stream); in dml21_build_fams2_programming()
H A Ddml21_wrapper.c229 dml_ctx->config.svp_pstate.callbacks.remove_phantom_streams_and_planes(in_dc, context); in dml21_mode_check_and_programming()
230 dml_ctx->config.svp_pstate.callbacks.release_phantom_streams_and_planes(in_dc, context); in dml21_mode_check_and_programming()
276 dml_ctx->config.svp_pstate.callbacks.remove_phantom_streams_and_planes(in_dc, context); in dml21_check_mode_support()
277 dml_ctx->config.svp_pstate.callbacks.release_phantom_streams_and_planes(in_dc, context); in dml21_check_mode_support()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c2025 dc->dml2_options.svp_pstate.callbacks.release_dsc = &dcn20_release_dsc; in dcn321_resource_construct()
2026 …dc->dml2_options.svp_pstate.callbacks.calculate_mall_ways_from_bytes = pool->base.funcs->calculate… in dcn321_resource_construct()
2028 dc->dml2_options.svp_pstate.subvp_fw_processing_delay_us = dc->caps.subvp_fw_processing_delay_us; in dcn321_resource_construct()
2029 …dc->dml2_options.svp_pstate.subvp_prefetch_end_to_mall_start_us = dc->caps.subvp_prefetch_end_to_m… in dcn321_resource_construct()
2030 dc->dml2_options.svp_pstate.subvp_pstate_allow_width_us = dc->caps.subvp_pstate_allow_width_us; in dcn321_resource_construct()
2031 …dc->dml2_options.svp_pstate.subvp_swath_height_margin_lines = dc->caps.subvp_swath_height_margin_l… in dcn321_resource_construct()
2033 dc->dml2_options.svp_pstate.force_disable_subvp = dc->debug.force_disable_subvp; in dcn321_resource_construct()
2034 dc->dml2_options.svp_pstate.force_enable_subvp = dc->debug.force_subvp_mclk_switch; in dcn321_resource_construct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c2168 dc->dml2_options.svp_pstate.callbacks.release_dsc = &dcn20_release_dsc; in dcn401_resource_construct()
2169 …dc->dml2_options.svp_pstate.callbacks.calculate_mall_ways_from_bytes = pool->base.funcs->calculate… in dcn401_resource_construct()
2171 dc->dml2_options.svp_pstate.subvp_fw_processing_delay_us = dc->caps.subvp_fw_processing_delay_us; in dcn401_resource_construct()
2172 …dc->dml2_options.svp_pstate.subvp_prefetch_end_to_mall_start_us = dc->caps.subvp_prefetch_end_to_m… in dcn401_resource_construct()
2173 dc->dml2_options.svp_pstate.subvp_pstate_allow_width_us = dc->caps.subvp_pstate_allow_width_us; in dcn401_resource_construct()
2174 …dc->dml2_options.svp_pstate.subvp_swath_height_margin_lines = dc->caps.subvp_swath_height_margin_l… in dcn401_resource_construct()
2176 dc->dml2_options.svp_pstate.force_disable_subvp = dc->debug.force_disable_subvp; in dcn401_resource_construct()
2177 dc->dml2_options.svp_pstate.force_enable_subvp = dc->debug.force_subvp_mclk_switch; in dcn401_resource_construct()
/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c5580 dml2_options->svp_pstate.callbacks.dc = dc; in resource_init_common_dml2_callbacks()
5581 dml2_options->svp_pstate.callbacks.add_phantom_plane = &dc_state_add_phantom_plane; in resource_init_common_dml2_callbacks()
5582 dml2_options->svp_pstate.callbacks.add_phantom_stream = &dc_state_add_phantom_stream; in resource_init_common_dml2_callbacks()
5583 dml2_options->svp_pstate.callbacks.build_scaling_params = &resource_build_scaling_params; in resource_init_common_dml2_callbacks()
5584 dml2_options->svp_pstate.callbacks.create_phantom_plane = &dc_state_create_phantom_plane; in resource_init_common_dml2_callbacks()
5585 dml2_options->svp_pstate.callbacks.remove_phantom_plane = &dc_state_remove_phantom_plane; in resource_init_common_dml2_callbacks()
5586 dml2_options->svp_pstate.callbacks.remove_phantom_stream = &dc_state_remove_phantom_stream; in resource_init_common_dml2_callbacks()
5587 dml2_options->svp_pstate.callbacks.create_phantom_stream = &dc_state_create_phantom_stream; in resource_init_common_dml2_callbacks()
5588 dml2_options->svp_pstate.callbacks.release_phantom_plane = &dc_state_release_phantom_plane; in resource_init_common_dml2_callbacks()
5590 dml2_options->svp_pstate.callbacks.get_pipe_subvp_type = &dc_state_get_pipe_subvp_type; in resource_init_common_dml2_callbacks()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c2476 dc->dml2_options.svp_pstate.callbacks.release_dsc = &dcn20_release_dsc; in dcn32_resource_construct()
2477 …dc->dml2_options.svp_pstate.callbacks.calculate_mall_ways_from_bytes = pool->base.funcs->calculate… in dcn32_resource_construct()
2479 dc->dml2_options.svp_pstate.subvp_fw_processing_delay_us = dc->caps.subvp_fw_processing_delay_us; in dcn32_resource_construct()
2480 …dc->dml2_options.svp_pstate.subvp_prefetch_end_to_mall_start_us = dc->caps.subvp_prefetch_end_to_m… in dcn32_resource_construct()
2481 dc->dml2_options.svp_pstate.subvp_pstate_allow_width_us = dc->caps.subvp_pstate_allow_width_us; in dcn32_resource_construct()
2482 …dc->dml2_options.svp_pstate.subvp_swath_height_margin_lines = dc->caps.subvp_swath_height_margin_l… in dcn32_resource_construct()
2484 dc->dml2_options.svp_pstate.force_disable_subvp = dc->debug.force_disable_subvp; in dcn32_resource_construct()
2485 dc->dml2_options.svp_pstate.force_enable_subvp = dc->debug.force_subvp_mclk_switch; in dcn32_resource_construct()