RE: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran

2021-12-20 Thread Russell, Kent
That's fine, I can do that change and submit the series per Alex's RB. Kent > -Original Message- > From: Chen, Guchun > Sent: Friday, December 17, 2021 9:49 PM > To: Russell, Kent ; amd-gfx@lists.freedesktop.org > Cc: Russell, Kent > Subject: RE: [PATCH 4/4

RE: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran

2021-12-17 Thread Chen, Guchun
[Public] Hi Kent, + + if (adev->asic_type == CHIP_ALDEBARAN) + offset = 0; if (!is_fru_eeprom_supported(adev)) I prefer to put 'adev->asic_type == CHIP_ALDEBARAN' after calling is_fru_eeprom_supported to make code logic cleaner. Without FRU support, we should do n

Re: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran

2021-12-17 Thread Deucher, Alexander
[AMD Official Use Only] Series is: Reviewed-by: Alex Deucher From: amd-gfx on behalf of Kent Russell Sent: Friday, December 17, 2021 10:31 AM To: amd-gfx@lists.freedesktop.org Cc: Russell, Kent Subject: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran Thi

RE: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran

2021-12-14 Thread Russell, Kent
ists.freedesktop.org > Cc: Russell, Kent > Subject: RE: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran > > [Public] > > BTW, does FRU exists on all the Aldebaran SKUs? > > This patch acks FRU's presence when it's Aldebaran. So if some Aldebaran SKUs > do not

RE: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran

2021-12-13 Thread Chen, Guchun
Of Chen, Guchun Sent: Tuesday, December 14, 2021 11:17 AM To: Russell, Kent ; amd-gfx@lists.freedesktop.org Cc: Russell, Kent Subject: RE: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran [Public] + if (adev->asic_type == CHIP_ALDEBARAN) + offset = 0

RE: [PATCH 4/4] drm/amdgpu: Access the FRU on Aldebaran

2021-12-13 Thread Chen, Guchun
[Public] + if (adev->asic_type == CHIP_ALDEBARAN) + offset = 0; if (!is_fru_eeprom_supported(adev)) return 0; I assume the logic should be adjusted. It's better to put the asic_type check after is_fru_eeprom_supported. Regards, Guchun -Original