amdgpu_get_..._counter_kms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

hey bestie, welcome to the amdgpu_get_..._counter_kms(9) page from the Kernel API Manual πŸ’–. this one is literally about amdgpu_get_vblank_counter_kms β€” get frame count πŸ’….

🌸 SYNOPSIS 🌸

u32 amdgpu_get_vblank_counter_kms (struct drm_crtc *crtc );

it returns a u32 and takes one struct drm_crtc * named crtc, periodt ✨.

πŸŽ€ ARGUMENTS πŸŽ€

  • crtc β€” the crtc to get the frame count from. that's the whole assignment, no cap 🫢.

πŸ¦‹ DESCRIPTION πŸ¦‹

so it gets the frame count on the requested crtc (all asics). on success it returns the frame count, and on failure it returns -EINVAL. lowkey simple, highkey useful 😭πŸ”₯.

πŸ’œ SEE ALSO πŸ’œ

iykyk, go read these too πŸ“šπŸ’œ.


xoxo, your Kernel API Manual bestie πŸ’– β€” source/version ./drivers/gpu/drm/amd/amdgpu, dated October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from