diff options
| author | Nirmoy Das <[email protected]> | 2021-10-29 16:06:04 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-11-17 16:58:04 -0500 |
| commit | 26db557e35d6b229b31078ebd6939b4cad936f6f (patch) | |
| tree | 37c3f095ed9cc1c77b1f423ba2b2b6bef9fe1356 /tools/perf/scripts/python | |
| parent | d5a28852e86ef486ee34e4cf72e8ad99a36f4fc3 (diff) | |
drm/amdgpu: return early on error while setting bar0 memtype
We set WC memtype for aper_base but don't check return value
of arch_io_reserve_memtype_wc(). Be more defensive and return
early on error.
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions