Files
linux/drivers/gpu/drm/amd/amdgpu
Luben Tuikov a46751fbcd drm/amdgpu: Fix RAS function interface
The correctable and uncorrectable errors
are calculated at each invocation of this
function. Therefore, it is highly inefficient to
return just one of them based on a Boolean
input. If the caller wants both, twice the work
would be done. (And this work is O(n^3) on
Vega20.)

Fix this "interface" to simply return what it had
calculated--both values. Let the caller choose
what it wants to record, inspect, use.

Cc: Alexander Deucher <Alexander.Deucher@amd.com>
Cc: John Clements <john.clements@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alexander Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-27 12:22:54 -04:00
..
2021-04-09 16:46:32 -04:00
2021-05-19 22:43:43 -04:00
2021-04-09 16:46:32 -04:00
2021-03-23 23:31:17 -04:00
2021-03-23 23:31:17 -04:00
2020-07-02 12:02:50 -04:00
2020-08-14 16:22:39 -04:00
2021-05-25 23:44:06 -04:00
2020-07-01 01:59:24 -04:00
2021-05-19 22:29:30 -04:00
2020-07-02 12:02:50 -04:00