amdgpu_virt...h_data_space(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the Kernel API Manual ✨ this is the page for amdgpu_virt_ras_realloc_eh_data_space β€” and it's literally here to alloc/realloc VF bad-page @data->bps and @data->bps_bo. that's the whole vibe 🫢

✨ SYNOPSIS ✨

       int amdgpu_virt_ras_realloc_eh_data_space (struct amdgpu_device *adev ,
       struct amdgpu_virt_ras_err_handler_data *data , int pages );

πŸ’– ARGUMENTS πŸ’–

  • adev β€” amdgpu device. the main-character struct, no cap πŸ’…
  • data β€” VF RAS error-handler data. this is where the bad-page tea lives πŸ“
  • pages β€” minimum number of new slots to add beyond data->capacity. yes bestie, minimum β€” it's giving "at least this many" ✨

πŸ”₯ RETURN πŸ”₯

0 on success, -ENOMEM on failure. periodt πŸ’€

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” source/version: ./drivers/gpu/drm/amd/amdgpu, dated October 2026, footer title amdgpu_virt...h_data_space(9). slay and goodbye πŸ‘‘

πŸ“¦ where this page comes from