Skip to content

Commit

Permalink
drm/amdgpu: use BACO on vega12 if platform supports it
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Deucher committed Mar 5, 2019
1 parent 518f6a5 commit f8b18cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/amdgpu/soc15.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f8b18cf

Please sign in to comment.