diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-02-11 03:50:53 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-05 21:09:33 +0100 |
commit | f8b18cf4c33452ee17936c63a0dea5278c4ac050 (patch) | |
tree | 92c7f5c883b708ba55f5a48cb861cd8b89d520d8 | |
parent | drm/amdgpu/powerplay: split out common smu9 BACO code (diff) | |
download | linux-f8b18cf4c33452ee17936c63a0dea5278c4ac050.tar.xz linux-f8b18cf4c33452ee17936c63a0dea5278c4ac050.zip |
drm/amdgpu: use BACO on vega12 if platform supports it
Use BACO for reset of the platform supports it.
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index ed89a101f73f..36158db6a82e 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -461,6 +461,7 @@ static int soc15_asic_reset(struct amdgpu_device *adev) switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA12: soc15_asic_get_baco_capability(adev, &baco_reset); break; default: |