commit | a4ef6edc8e87bee656a5feaedb0bb167acd9d360 | [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 15:16:32 2018 -0500 |
tree | 431a5a0e8fc17179a1228bf9aed93029a6f55065 | |
parent | 9f51943c2a434d40f46776369b7a72e0ffb6ea59 [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>