drm/amd/powerplay: apply Vega20 BACO workaround

Applied vdci flush workaround for Vega20 BACO.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Evan Quan
2019-03-07 10:20:12 +08:00
committed by Alex Deucher
parent 9b638f9751
commit 0c5ccf14f5
8 changed files with 49 additions and 2 deletions

View File

@@ -929,6 +929,7 @@ struct amdgpu_device {
/* counter of mapped memory through xgmi */
atomic_t xgmi_map_counter;
bool in_baco_reset;
};
static inline struct amdgpu_device *amdgpu_ttm_adev(struct ttm_bo_device *bdev)