|
@@ -2740,6 +2740,9 @@ static int gfx_v9_0_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:
|
|
gfx_v9_0_update_gfx_clock_gating(adev,
|
|
gfx_v9_0_update_gfx_clock_gating(adev,
|