Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76c8cc6b authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher
Browse files

drm/amdgpu: enable powerplay module by default for tonga.

parent bbb207f3
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -96,6 +96,14 @@ static int amdgpu_pp_early_init(void *handle)
	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
	int ret = 0;
	int ret = 0;


	switch (adev->asic_type) {
		case CHIP_TONGA:
			amdgpu_powerplay = 1;
			break;
		default:
			break;
	}

	ret = amdgpu_powerplay_init(adev);
	ret = amdgpu_powerplay_init(adev);
	if (ret)
	if (ret)
		return ret;
		return ret;