amdgpu_ras_eeprom_read(9)
π 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 inrecord. 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 π¦
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_eeprom_reset_table(9),__amdgpu_ras_eeprom_write(9),amdgpu_ras_eeprom_append(9),__amdgpu_ras_eeprom_read(9),__verify_ras_table_checksum(9)
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
- 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