diff options
author | Dennis Li <Dennis.Li@amd.com> | 2021-02-26 09:17:10 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-26 17:23:49 -0500 |
commit | 11003c68b158c07b95e4ba3630a86aff9c442ee7 (patch) | |
tree | 72335dd21aa65ce08cc9ccbca9180509826cf818 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
parent | e0cd93b7e307cf6920fbc699df04d073c9004c22 (diff) |
drm/amdgpu: remove unnecessary reading for epprom header
If the number of badpage records exceed the threshold, driver has
updated both epprom header and control->tbl_hdr.header before gpu reset,
therefore GPU recovery thread no need to read epprom header directly.
v2: merge amdgpu_ras_check_err_threshold into amdgpu_ras_eeprom_check_err_threshold
Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions