r100_page_flip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 r100_page_flip(9) 🌸

okay bestie, welcome to the Kernel API Manual β€” yes we're literally reading kernel docs together, this is our bonding time πŸ’–


✨ NAME ✨

r100_page_flip β€” the pageflip callback. that's it, that's the vibe πŸŽ€


✨ SYNOPSIS ✨

void r100_page_flip (struct radeon_device *rdev , int crtc_id , u64
crtc_base , bool async );

✨ ARGUMENTS ✨

  • rdev β€” a radeon_device pointer 🫢
  • crtc_id β€” the crtc we're cleaning up the pageflip on
  • crtc_base β€” the new address of the crtc (it's a GPU MC address, fyi πŸ‘€)
  • async β€” asynchronous flip, yes ma'am

✨ DESCRIPTION ✨

so what this actually does πŸ’… β€” it does the actual pageflip (that's r1xx-r4xx era, for the record). During vblank we take the crtc lock and wait for the update_pending bit to go high. the moment it does? we release the lock and let the double buffered update take place. iconic behavior, honestly πŸ”₯


✨ SEE ALSO ✨

Kernel file ./drivers/gpu/drm/radeon/r100.c β€” and the whole friend group:


and that's the page, bestie πŸ¦‹ this whole thing lives in ./drivers/gpu/drm/radeon, dated October 2026, and it's filed under r100_page_flip(9) β€” slay, go read the source, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from