r100_page_flip(9)
πΈ 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β aradeon_devicepointer π«Άcrtc_idβ the crtc we're cleaning up the pageflip oncrtc_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:
r100_wait_for_vblank(9)r100_page_flip_pending(9)r100_pm_get_dynpm_state(9)r100_pm_init_profile(9)r100_pm_misc(9)r100_pm_prepare(9)r100_pm_finish(9)r100_gui_idle(9)r100_hpd_sense(9)r100_hpd_set_polarity(9)r100_hpd_init(9)r100_hpd_fini(9)r100_ring_hdp_flush(9)r100_cs_packet_parse_vline(9)
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
- 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