r100_cs_packet_parse_vline(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

r100_cs_packet_parse_vline β€” okay so this is the one that parses userspace VLINE packets πŸ’…

(welcome to the Kernel API Manual, bestie β€” this page is literally about r100_cs_packet_parse_vline and nothing else, periodt)


✨ SYNOPSIS ✨

int r100_cs_packet_parse_vline (struct radeon_cs_parser *p );

🧚 ARGUMENTS 🧚

  • p β€” the parser structure that's holding the parsing context. yeah. she's the main character, she's carrying the whole context of this parse. 🫢

πŸ’– DESCRIPTION πŸ’–

Okay so picture this: userspace is out here sending a special sequence for VLINE waits. iconic behavior, we love a signature move ✨

The whole thing looks like this, exactly:

PACKET0 - VLINE_START_END + value PACKET0 - WAIT_UNTIL +_value RELOC (P3) - crtc_id in reloc.

(not me transcribing that character for character because we do NOT fumble the details πŸ’€)

So what does this function actually do with it? Two things, and they both slay:

  • it parses all that, and relocates the VLINE START END and the WAIT UNTIL packets to the correct crtc πŸ‘‘
  • it also detects a switched off crtc β€” and in that case it nulls out the wait. like, no crtc, no wait, we're not doing that today bestie 🌸

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/radeon/r100.c is the whole vibe, and these are its neighbors β€” go say hi πŸ’œ


ok that's the whole page, no cap 🧚 iykyk

later bestie πŸ’• β€” this was ./drivers/gpu/drm/radeon, dated October 2026, aka r100_cs_packet_parse_vline(9) πŸŽ€βœ¨πŸ”₯

πŸ“¦ where this page comes from