amdgpu_atomf...ras_rom_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the amdgpu_atomfirmware_ras_rom_addr page β€” this is the Kernel API Manual entry for it, and honestly? it's giving "tiny function, big job." πŸŽ€

amdgpu_atomfirmware_ras_rom_addr β€” Get the RAS EEPROM addr from VBIOS ✨


🌸 SYNOPSIS 🌸

bool amdgpu_atomfirmware_ras_rom_addr (struct amdgpu_device *adev , u8
*i2c_address );

like, that's the whole signature. she's compact. she's iconic. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” an amdgpu_device pointer. that's your GPU's whole deal, fr fr 🫢
  • i2c_address β€” pointer to u8; if it's not NULL, it will contain the RAS EEPROM address if the function returns true ✨ (yes, that "if" is doing a LOT of work, keep reading)

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe: this function returns true if VBIOS supports RAS EEPROM address reporting, else it returns false. that's the whole vibe check. πŸ‘‘

and IF it returns true and i2c_address is not NULL, then i2c_address will contain the RAS ROM address. so like β€” the pointer only gets filled in on the happy path, no cap. πŸ’–

lowkey important: i2c_address being NULL is totally fine, you just don't get the address back. and if the function returns false, don't go reading through that pointer expecting treasure, bestie 😭

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c β€” go read the source, it's literally right there 🧚

and that's the page!! mwah πŸ’‹ sign-off time: this lil beauty lives under ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's the man page for amdgpu_atomf...ras_rom_addr(9). slay, go call it responsibly πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from