commit | c12aba3acde52e2ae7807e4e263dfba34fcdbb0c | [log] [tgz] |
---|---|---|
author | Monk Liu <Monk.Liu@amd.com> | Wed Jan 24 12:20:32 2018 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Feb 28 14:18:04 2018 -0500 |
tree | 7edb624aca6608280f8bb4271f7ffe1844b41f54 | |
parent | ed9324afc0ec1ebe5dcef632eee6381f6ebf8fd5 [diff] |
drm/amdgpu: move WB_FREE to correct place WB_FREE should be put after all engines's hw_fini done, otherwise the invalid wptr/rptr_addr would still be used by engines which trigger abnormal bugs. This fixes couple DMAR reading error in host side for SRIOV after guest kmd is unloaded. Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>