amdgpu_ras_eeprom_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual β€” today’s main character is amdgpu_ras_eeprom_read, and it is literally here to read EEPROM. no cap. ✨


🌸 SYNOPSIS 🌸

int amdgpu_ras_eeprom_read (struct amdgpu_ras_eeprom_control *control ,
       struct eeprom_table_record *record , const u32 num );

πŸŽ€ ARGUMENTS πŸŽ€

  • control β€” pointer to the control structure. she’s the one holding the vibes together πŸ’…
  • record β€” array of records to read into. this is where the data lands, bestie 🫢
  • num β€” number of records in record. yes, the count matters, always πŸ”₯

✨ DESCRIPTION ✨

Reads num records from the RAS table in EEPROM and writes the data into the record array. it’s giving β€œcome through, EEPROM data” energy πŸ’«

Returns 0 on success, -errno on error. periodt. if it’s not 0, something went off and the error code is telling you why 😭


πŸ¦‹ SEE ALSO πŸ¦‹

like, go read the whole friend group, iykyk πŸ’œ


xoxo, signing off from ./drivers/gpu/drm/amd/amdgpu β€” October 2026, amdgpu_ras_eeprom_read(9) forever πŸ’…πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from