is_svp_dst_in_next_frame(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– is_svp_dst_in_next_frame(9) πŸ’–

okay so bestie, welcome to the is_svp_dst_in_next_frame(9) page from the Kernel API Manual β€” yes that manual, we're in the kernel docs girlies now, pop off πŸŽ€

This one is a helper function that figures out if a swath index (plus the dst line that's associated with it) belongs to the current frame or the next frame. and before you ask β€” the swath index can be a regular swath or an END swath, both are valid, we love inclusivity πŸ’…


✨ SYNOPSIS ✨

Like, literally the whole signature, character for character, no touchy:

bool is_svp_dst_in_next_frame (uint32_t swath_index , uint16_t
pre_swath_incl_boundary , uint32_t prefetch_swaths , uint32_t
pre_first_hdl_x1000 , uint32_t rec_first_hdl_x1000 , uint32_t
pre_hdl_delta_x1000 , uint32_t rec_hdl_delta_x1000 , uint32_t
curr_otg_line , uint32_t curr_frame_count , uint32_t dst_line , uint32_t
target_frame_count , uint16_t vstartup );

twelve parameters. TWELVE. she's high-maintenance and honestly? iconic 😭


🌸 ARGUMENTS 🌸

so here's the thing, bestie β€” the original docs literally say -- undescribed -- for every single one of these. not me making it up, that's canon. so we're listing them all and being fully transparent about the mystery 🫢

  • swath_index β€” -- undescribed -- (a mystery, a legend, a vibe)
  • pre_swath_incl_boundary β€” -- undescribed --
  • prefetch_swaths β€” -- undescribed --
  • pre_first_hdl_x1000 β€” -- undescribed --
  • rec_first_hdl_x1000 β€” -- undescribed --
  • pre_hdl_delta_x1000 β€” -- undescribed --
  • rec_hdl_delta_x1000 β€” -- undescribed --
  • curr_otg_line β€” -- undescribed --
  • curr_frame_count β€” -- undescribed --
  • dst_line β€” -- undescribed --
  • target_frame_count β€” -- undescribed --
  • vstartup β€” -- undescribed --

ngl, all twelve showing up as -- undescribed -- is lowkey giving "the wiki page is a stub" energy πŸ’€ but we keep every one, periodt.


⭐ RETURN ⭐

Returns true if the swath and its associated dst line are considered part of the "next" frame, and false otherwise. that's it, that's the whole personality πŸ’–

and then, right after that sentence, the original just drops this absolute unit of a line:

***********************************************************************************************************

not a single crumb of context. we respect the drama πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file lives here, bestie, don't lose it:

./drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/alternate_pstate_shared_lib.c

and the whole friend group shows up too, so go say hi to:


real talk: every argument on this page is documented as -- undescribed --, so if you need the actual semantics, you're gonna have to go read the source, bestie. no cap, that's not a me problem, that's a docs problem 😭

and that's the whole page, babes 🌈 this iconic little number ships from the source tree at ./drivers/gpu/drm/amd/display/... β€” October 2026 edition β€” mwah, take care, drink water, and remember: true if next frame, false otherwise πŸ’œβœ¨

πŸ“¦ where this page comes from