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

Commit fb82afab authored by Xiangliang Yu's avatar Xiangliang Yu Committed by Alex Deucher
Browse files

drm/amdgpu/gfx9: bypass clockgating setting



For SRIOV doesn't need clockgating, bypass it.

Signed-off-by: default avatarXiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 98c24b24
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2740,6 +2740,9 @@ static int gfx_v9_0_set_clockgating_state(void *handle,
{
	struct amdgpu_device *adev = (struct amdgpu_device *)handle;

	if (amdgpu_sriov_vf(adev))
		return 0;

	switch (adev->asic_type) {
	case CHIP_VEGA10:
		gfx_v9_0_update_gfx_clock_gating(adev,