Commit 157e8306 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: support runtime pm for GPUs that support BOCO



Enable runtime pm on non HG/PX BOCO capable boards.

Acked-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0330b848
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -161,6 +161,9 @@ int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags)
	}

	if (amdgpu_device_supports_atpx(dev) &&
	    (amdgpu_runtime_pm != 0)) { /* enable runpm by default for atpx */
		adev->runpm = true;
	} else if (amdgpu_device_supports_boco(dev) &&
		   (amdgpu_runtime_pm != 0)) { /* enable runpm by default for boco */
		adev->runpm = true;
	} else if (amdgpu_device_supports_baco(dev) &&