STRUCT AMDGPU_VIRT_OPS(9)
β¨ NAME β¨
okay bestie, you're on the struct amdgpu_virt_ops(9) page from the Kernel API Manual π Name drop: struct amdgpu_virt_ops is the amdgpu device virt operations struct. That's the whole name, no cap.
πΈ SYNOPSIS πΈ
here's the exact struct, every function pointer and parameter kept character-for-character because we do not play with signatures in this house π
struct amdgpu_virt_ops {
int (*req_full_gpu)(struct amdgpu_device *adev, bool init);
int (*rel_full_gpu)(struct amdgpu_device *adev, bool init);
int (*req_init_data)(struct amdgpu_device *adev);
int (*reset_gpu)(struct amdgpu_device *adev);
void (*ready_to_reset)(struct amdgpu_device *adev);
int (*wait_reset)(struct amdgpu_device *adev);
void (*trans_msg)(struct amdgpu_device *adev, enum idh_request req,
u32 data1, u32 data2, u32 data3);
void (*ras_poison_handler)(struct amdgpu_device *adev, enum
amdgpu_ras_block block);
bool (*rcvd_ras_intr)(struct amdgpu_device *adev);
int (*req_ras_err_count)(struct amdgpu_device *adev);
int (*req_ras_cper_dump)(struct amdgpu_device *adev, u64 vf_rptr);
int (*req_bad_pages)(struct amdgpu_device *adev);
int (*req_ras_chk_criti)(struct amdgpu_device *adev, u64 addr);
int (*req_remote_ras_cmd)(struct amdgpu_device *adev, u32 param1,
u32 param2, u32 param3);
int (*req_ptl_update)(struct amdgpu_device *adev, u32 req_code, u32
ptl_state, u32 fmt1, u32 fmt2);
};
vibe check: yes, that's a whole lineup of function pointers, and yes, they ate π
π Members π
bestie... the original page has a Members heading and then nothing. It's giving empty section energy π no member descriptions, no extra tea, just crickets and a straight jump to SEE ALSO.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_virt.hβ go peek at the header, iykyk π
mwah π that's the page β source/version: ./drivers/gpu/drm/amd/amdgpu; date: October 2026.
π¦ 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