summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2019-03-07 10:20:12 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 15:36:49 -0500
commit0c5ccf14f50431d0196b96025c878ae9f45676a9 (patch)
tree3cd7711f6c4622c6448ac3f33443c06ca778a6d8 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent9b638f9751308ae3ae8f28e0c6e9decffd97f5f9 (diff)
downloadlinux-0c5ccf14f50431d0196b96025c878ae9f45676a9.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index baad21e8e8f2..60c0601429df 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -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)