]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: Fix eeprom max record count
authorStanley.Yang <Stanley.Yang@amd.com>
Thu, 18 Jul 2024 02:58:04 +0000 (10:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:45:45 +0000 (17:45 -0400)
commit015b8a2fdf39a4c288ff24e7b715b8d9198e56dc
tree91b64700515ec1eed921203c6f8266499210a53f
parentc395fd47d1565bd67671f45cca281b3acc2c31ef
drm/amdgpu: Fix eeprom max record count

The eeprom table is empty before initializing,
set eeprom table version first before initializing.

Changed from V1:
Reuse amdgpu_ras_set_eeprom_table_version function

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c