amdgpu_get_..._counter_kms(9)
β¨ 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β thecrtcto 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 π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_driver_unload_kms(9)amdgpu_driver_load_kms(9)amdgpu_info_ioctl(9)amdgpu_proc_options_ioctl(9)amdgpu_driver_open_kms(9)amdgpu_driver_postclose_kms(9)amdgpu_enable_vblank_kms(9)amdgpu_disable_vblank_kms(9)
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
- 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