diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-02-10 21:50:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-05 15:09:33 -0500 |
commit | f8b18cf4c33452ee17936c63a0dea5278c4ac050 (patch) | |
tree | 92c7f5c883b708ba55f5a48cb861cd8b89d520d8 /drivers/gpu/drm/amd/amdgpu/soc15.c | |
parent | 518f6a54624a905692290914ac1686a5bf5c9ef8 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-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: |