evergreen_page_flip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… evergreen_page_flip β€” pageflip callback

okay so this is evergreen_page_flip(9) from the Kernel API Manual, and bestie, it's literally the little function that makes your screen actually flip the page. iconic behaviour, no cap. πŸ¦‹


✨ SYNOPSIS ✨

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

like, that's the whole signature. she's not complicated, she just works. πŸŽ€


🌸 ARGUMENTS 🌸

  • rdev β€” a radeon_device pointer. yep, the radeon device. that's the girl. πŸ’œ
  • crtc_id β€” the crtc to cleanup pageflip on. very "which one of y'all" energy.
  • crtc_base β€” the new address of the crtc, and it's a GPU MC address btw, not like a regular pointer, don't get it twisted. 🧚
  • async β€” asynchronous flip. bool. she said "do it in the background, periodt." ⭐

πŸ”₯ DESCRIPTION πŸ”₯

so what does she do? she triggers the actual pageflip by updating the primary surface base address (evergreen+). that's it. that's the whole gig. main character energy but make it a register write. πŸ’…βœ¨

like, this is the moment the flip actually happens. not a preview, not a "we'll get to it" β€” the real deal. 🫢


🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/radeon/evergreen.c πŸ’–

and the whole friend group:

ngl that's a whole squad. iykyk. πŸ‘‘


okay that's the page, bestie! this one lives in ./drivers/gpu/drm/radeon and it's stamped October 2026 β€” so mark your calendar, save it to your notes app, whatever feels right. stay hydrated, keep your surface base addresses fresh, and slay πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from