RE: [PATCH] drm/amdgpu: Add FRU sysfs nodes only if needed

2023-08-05 Thread Zhang, Hawking
o: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Deucher, Alexander Subject: [PATCH] drm/amdgpu: Add FRU sysfs nodes only if needed Create sysfs nodes for FRU data only if FRU data is available. Move the logic to FRU specific file. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/amdgpu/amdgpu_device

[PATCH] drm/amdgpu: Add FRU sysfs nodes only if needed

2023-08-04 Thread Lijo Lazar
Create sysfs nodes for FRU data only if FRU data is available. Move the logic to FRU specific file. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 70 +--- .../gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c| 81 +++ .../gpu/drm/amd/amdgpu/am