Home
last modified time | relevance | path

Searched refs:curr_pipe_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c572 struct pipe_ctx *curr_pipe_ctx = pipe_ctx_list[i]; in dcn32_auto_dpm_test_log() local
575 pix_clk_list[i] = curr_pipe_ctx->stream->timing.pix_clk_100hz; in dcn32_auto_dpm_test_log()
576 p_state_list[i] = curr_pipe_ctx->p_state_type; in dcn32_auto_dpm_test_log()
578 refresh_rate = (curr_pipe_ctx->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn32_auto_dpm_test_log()
579curr_pipe_ctx->stream->timing.v_total * (uint64_t)curr_pipe_ctx->stream->timing.h_total - (uint64_… in dcn32_auto_dpm_test_log()
580 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total); in dcn32_auto_dpm_test_log()
581 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total); in dcn32_auto_dpm_test_log()
584 if (curr_pipe_ctx->plane_state) { in dcn32_auto_dpm_test_log()
585 is_scaled_list[i] = !(dcn32_check_native_scaling(curr_pipe_ctx)); in dcn32_auto_dpm_test_log()
586 disp_src_width_list[i] = curr_pipe_ctx->plane_state->src_rect.width; in dcn32_auto_dpm_test_log()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
Ddcn401_clk_mgr.c448 struct pipe_ctx *curr_pipe_ctx = pipe_ctx_list[i]; in dcn401_auto_dpm_test_log() local
451 pix_clk_list[i] = curr_pipe_ctx->stream->timing.pix_clk_100hz; in dcn401_auto_dpm_test_log()
452 p_state_list[i] = curr_pipe_ctx->p_state_type; in dcn401_auto_dpm_test_log()
454 refresh_rate = (curr_pipe_ctx->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn401_auto_dpm_test_log()
455 curr_pipe_ctx->stream->timing.v_total in dcn401_auto_dpm_test_log()
456 * (uint64_t) curr_pipe_ctx->stream->timing.h_total - (uint64_t)1); in dcn401_auto_dpm_test_log()
457 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total); in dcn401_auto_dpm_test_log()
458 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total); in dcn401_auto_dpm_test_log()
461 if (curr_pipe_ctx->plane_state) { in dcn401_auto_dpm_test_log()
462 is_scaled_list[i] = !(dcn401_check_native_scaling(curr_pipe_ctx)); in dcn401_auto_dpm_test_log()
[all …]