[AMD Official Use Only - Internal Distribution Only]

Never mind, I noticed you added the check in amdgpu_fru_get_product_info. Then 
I think it's safe to remove the check from amdgpu_fru_read_eeprom. Other than 
that, the patch is

Reviewed-by: Hawking Zhang <hawking.zh...@amd.com>

Regards,
Hawking

From: amd-gfx <amd-gfx-boun...@lists.freedesktop.org> On Behalf Of Zhang, 
Hawking
Sent: Monday, March 23, 2020 17:09
To: Clements, John <john.cleme...@amd.com>; amd-gfx@lists.freedesktop.org
Subject: RE: [PATCH] drm/amdgpu: disabled fru eeprom access


[AMD Official Use Only - Internal Distribution Only]

Hi John,

How about adding the shell function at the beginning of 
amdgpu_fru_get_product_info. It make sense to me to check the FRU eeprom 
availability before access. But having the check in amdgpu_fru_read_eeprom 
would results to unnecessary drm error message for all the following access in 
amdgpu_fru_get_product_info.

Regards,
Hawking
From: Clements, John <john.cleme...@amd.com<mailto:john.cleme...@amd.com>>
Sent: Monday, March 23, 2020 16:51
To: amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org>; Zhang, 
Hawking <hawking.zh...@amd.com<mailto:hawking.zh...@amd.com>>
Subject: [PATCH] drm/amdgpu: disabled fru eeprom access


[AMD Official Use Only - Internal Distribution Only]

Submitting patch to:

  *   Disable FRU EEPROM access by default
  *   Add shell function to be used for supported device detection

Thank you,
John Clements
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to