dce_v6_0_page_flip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dce_v6_0_page_flip(9) β€” from the Kernel API Manual, bestie ✨

Okay so picture this: it's a kernel manual page, it lives in the Kernel API Manual, and its whole name is dce_v6_0_page_flip(9). Say it with me β€” it's giving lowkey unhinged naming convention, but she's iconic and she knows it πŸŽ€


✨ NAME ✨

dce_v6_0_page_flip β€” the pageflip callback. that's it. that's the whole job. main character energy fr πŸ’…


🌸 SYNOPSIS 🌸

void dce_v6_0_page_flip (struct amdgpu_device *adev , int crtc_id , u64
crtc_base , bool async );

yes bestie, she's void, she takes four args, and she does not return a thing. no cap 🀭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” the amdgpu_device pointer. your little handle to the whole device, okay? 🫢
  • crtc_id β€” which crtc we're cleaning up the pageflip on.
  • crtc_base β€” the new address of the crtc. and ngl it's a GPU MC address, so don't go treating it like some casual system memory pointer πŸ™ˆ
  • async β€” this is a bool, and it means asynchronous flip. as in, the flip is doing its own thing. live your truth ✨

πŸ’– DESCRIPTION πŸ’–

So what does she actually do? She does the actual pageflip β€” and yes, that's evergreen+, meaning evergreen and everything after it, periodt πŸ‘‘

Here's the tea β˜•: during vblank, we take the crtc lock and then we wait for the update_pending bit to go high. the way that bit just... needs to go high first 😭 when it does go high, we release the lock and let the double buffered update take place. that's the whole ritual, bestie.

And then β€” plot twist β€” she returns the current update pending status. yes even though the synopsis is void. that's what the page says, so that's what we're saying πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives right here, go be nosy:

./drivers/gpu/drm/amd/amdgpu/dce_v6_0.c

and here's the whole friend group β€” every single one of them, no skips, no cuts, we respect the full roster 🫑

like, that's a lot of bandwidth functions. she really said "bandwidth" and meant it 🌈


okay bestie real talk: this all comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026. so when you cite her, cite her correctly, iykyk πŸ’œ

mwah πŸ’‹ go flip some pages, you absolute icon πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from