Commit 6e9dc861 authored by Monk Liu's avatar Monk Liu Committed by Alex Deucher

drm/amdgpu:no cg for soc15 of SRIOV

no CG for SRIOV on SOC15
Signed-off-by: default avatarMonk Liu <Monk.Liu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 32833fb7
...@@ -773,6 +773,9 @@ static int soc15_common_set_clockgating_state(void *handle, ...@@ -773,6 +773,9 @@ static int soc15_common_set_clockgating_state(void *handle,
{ {
struct amdgpu_device *adev = (struct amdgpu_device *)handle; struct amdgpu_device *adev = (struct amdgpu_device *)handle;
if (amdgpu_sriov_vf(adev))
return 0;
switch (adev->asic_type) { switch (adev->asic_type) {
case CHIP_VEGA10: case CHIP_VEGA10:
nbio_v6_1_update_medium_grain_clock_gating(adev, nbio_v6_1_update_medium_grain_clock_gating(adev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment