amdgpu_atomf...ras_rom_addr(9)
π 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β anamdgpu_devicepointer. that's your GPU's whole deal, fr fr π«Άi2c_addressβ pointer tou8; if it's notNULL, it will contain the RAS EEPROM address if the function returnstrueβ¨ (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_addressbeingNULLis totally fine, you just don't get the address back. and if the function returnsfalse, 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
- 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