summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
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/soc15.c
parent9b638f9751308ae3ae8f28e0c6e9decffd97f5f9 (diff)
downloadlwn-0c5ccf14f50431d0196b96025c878ae9f45676a9.tar.gz
lwn-0c5ccf14f50431d0196b96025c878ae9f45676a9.zip
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/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index e172114460cc..77493a0f5e7e 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -452,6 +452,8 @@ static int soc15_asic_baco_reset(struct amdgpu_device *adev)
dev_info(adev->dev, "GPU BACO reset\n");
+ adev->in_baco_reset = 1;
+
return 0;
}