evergreen_page_flip(9)
π 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β aradeon_devicepointer. 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:
evergreen_get_allowed_info_register(9)dce4_wait_for_vblank(9)evergreen_page_flip_pending(9)sumo_pm_init_profile(9)btc_pm_init_profile(9)evergreen_pm_misc(9)evergreen_pm_prepare(9)evergreen_pm_finish(9)evergreen_hpd_sense(9)evergreen_hpd_set_polarity(9)evergreen_hpd_init(9)evergreen_hpd_fini(9)evergreen_bandwidth_update(9)evergreen_mc_wait_for_idle(9)evergreen_gfx_is_lockup(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms