Skip to content

Commit 35d3f41

Browse files
committed
drm/amdgpu: enable runtime pm using BACO on CI dGPUs
Works using BACO. Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 580577f commit 35d3f41

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags)
163163
} else if (amdgpu_device_supports_baco(dev) &&
164164
(amdgpu_runtime_pm != 0)) {
165165
switch (adev->asic_type) {
166-
#ifdef CONFIG_DRM_AMDGPU_CIK
167-
case CHIP_BONAIRE:
168-
case CHIP_HAWAII:
169-
#endif
170166
case CHIP_VEGA20:
171167
case CHIP_ARCTURUS:
172168
case CHIP_SIENNA_CICHLID:
@@ -181,7 +177,7 @@ int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags)
181177
adev->runpm = true;
182178
break;
183179
default:
184-
/* enable runpm on VI+ */
180+
/* enable runpm on CI+ */
185181
adev->runpm = true;
186182
break;
187183
}

0 commit comments

Comments
 (0)