summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2019-12-24 10:22:18 +0100
committerAlex Deucher <alexander.deucher@amd.com>2020-01-07 17:56:43 +0100
commitb8ab58f350b6554ce0e994e900a0dfb74ffa989f (patch)
tree4c46ff9d10cd2097cb050b6d5defe863e09ae2b6
parentdrm/amd/display: use true, false for bool variable in display_rq_dlg_calc_21.c (diff)
downloadlinux-b8ab58f350b6554ce0e994e900a0dfb74ffa989f.tar.xz
linux-b8ab58f350b6554ce0e994e900a0dfb74ffa989f.zip
drm/amd/powerplay: add check for baco support on Arcturus
This is used to determine whether runtime pm can be supported or not. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c1
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 b53d40177e93..a0615640082a 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -613,6 +613,7 @@ static bool soc15_supports_baco(struct amdgpu_device *adev)
switch (adev->asic_type) {
case CHIP_VEGA10:
case CHIP_VEGA12:
+ case CHIP_ARCTURUS:
soc15_asic_get_baco_capability(adev, &baco_support);
break;
case CHIP_VEGA20: