dc_stream_ge...d_drr_vtotal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 dc_stream_get_last_used_drr_vtotal β€” Kernel API Manual πŸ’…

okay so bestie, we're in the Kernel API Manual today, and the star of the show is dc_stream_get_last_used_drr_vtotal ✨ (the header up top truncates it all cute as dc_stream_ge...d_drr_vtotal(9) but we know her full name, periodt).


✨ NAME ✨

dc_stream_get_last_used_drr_vtotal β€” looks up the pipe context of dc_stream_state and gets the last VTOTAL used by DRR (Dynamic Refresh Rate) πŸ¦‹


πŸ’– SYNOPSIS πŸ’–

bool dc_stream_get_last_used_drr_vtotal (struct dc *dc , struct
dc_stream_state *stream , uint32_t *refresh_rate );

like, yes, that's the whole vibe. returns a bool, takes three things. slay.


πŸŽ€ ARGUMENTS πŸŽ€

  • dc [in] β€” a dc reference, bestie. your entry point.
  • stream [in] β€” the Initial dc_stream_state. the main character fr fr.
  • refresh_rate [in] β€” a new refresh_rate. she's along for the ride 😌

πŸ”₯ RETURN πŸ”₯

  • true β€” if the pipe context is found and there's an associated timing_generator for the DC. we love a success story 🫢
  • false β€” if the pipe context is not found or there's no timing_generator for the DC. no timing generator, no VTOTAL, that's the rule πŸ’€
ngl this one's a binary situation β€” either both things line up or you get false. no in-between vibes here.

🌈 SEE ALSO 🌈

bestie the cross-references are giving encyclopedia, but here's the full squad, no skips, no cap πŸ‘‘

  • Kernel file ./drivers/gpu/drm/amd/display/dc/core/dc.c Overview(9)
  • dc_stream_configure_crc(9)
  • dc_stream_get_crc(9)
  • dc_stream_adjust_vmin_vmax(9)
  • dc_commit_state_no_check(9)
  • dc_commit_streams(9)
  • dc_check_state_update(9)
  • dc_check_update_surfaces_for_stream(9)
  • update_seamless_boot_flags(9)
  • update_planes_and_stream_state(9)
  • dc_check_address_only_update(9)
  • build_dmub_cmd_list(9)
  • could_mpcc_tree_change_for_active_pipes(9)
  • commit_minimal_transition_state_in_dc_update(9)
  • commit_minimal_transition_state(9)
  • dc_update_state(9)
  • dc_update_planes_and_stream(9)
  • dc_enable_dcmode_clk_limit(9)
  • dc_is_dmub_outbox_supported(9)
  • dc_enable_dmub_notifications(9)
  • dc_enable_dmub_outbox(9)
  • dc_process_dmub_aux_transfer_async(9)
  • dc_process_dmub_set_config_async(9)
  • dc_process_dmub_set_mst_slots(9)
  • dc_process_dmub_dpia_set_tps_notification(9)
  • dc_process_dmub_dpia_hpd_int_enable(9)
  • dc_print_dmub_diagnostic_data(9)
  • dc_disable_accelerated_mode(9)
  • dc_notify_vsync_int_state(9)
  • dc_set_edp_power(9)
  • dc_get_power_profile_for_dc_state(9)
  • dc_get_det_buffer_size_from_state(9)
  • dc_get_host_router_index(9)
  • should_commit_intermediate_context(9)
  • dc_update_probes_prepare(9)
  • dc_update_probes_execute(9)

okay that's the page!! 🧚 from ./drivers/gpu/drm/amd/display/... with love, dated October 2026, filed under dc_stream_ge...d_drr_vtotal(9) β€” mwah, go read the source, ily, bye πŸ’œπŸŽ€

πŸ“¦ where this page comes from