Skip to contentSkip to conversation

drm/i915/guc/slpc: Allow SLPC to use efficient frequency

PATCH In review Vinay Belgaumkar 3 participants 4 messages Aug 10, 2022 – Aug 15, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/guc/slpc: Allow SLPC to use efficient frequency

Host Turbo operates at efficient frequency when GT is not idle unless the user or workload has forced it to a higher level. Replicate the same behavior in SLPC by allowing the algorithm to use efficient frequency. We had disabled it during boot due to concerns that it might break kernel ABI for min frequency. However, this is not the case, since SLPC will still abide by the (min,max) range limits and pcode forces frequency to 0 anyways when GT is in C6.

We also see much better perf numbers with benchmarks like glmark2 with efficient frequency usage enabled.

Fixes 025cb07bebfa ("drm/i915/guc/slpc: Cache platform frequency limits")
---
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 52 ---------------------
 1 file changed, 52 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +0 -52
index e1fa1f32f29e..4b824da3048a 100644
@@ -137,17 +137,6 @@ static int guc_action_slpc_set_param(struct intel_guc *guc, u8 id, u32 value)
 	return ret > 0 ? -EPROTO : ret;
 }
 
-static int guc_action_slpc_unset_param(struct intel_guc *guc, u8 id)
-{
-	u32 request[] = {
-		GUC_ACTION_HOST2GUC_PC_SLPC_REQUEST,
-		SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 1),
-		id,
-	};
-
-	return intel_guc_send(guc, request, ARRAY_SIZE(request));
-}
-
 static bool slpc_is_running(struct intel_guc_slpc *slpc)
 {
 	return slpc_get_state(slpc) == SLPC_GLOBAL_STATE_RUNNING;
@@ -201,16 +190,6 @@ static int slpc_set_param(struct intel_guc_slpc *slpc, u8 id, u32 value)
 	return ret;
 }
 
-static int slpc_unset_param(struct intel_guc_slpc *slpc,
-			    u8 id)
-{
-	struct intel_guc *guc = slpc_to_guc(slpc);
-
-	GEM_BUG_ON(id >= SLPC_MAX_PARAM);
-
-	return guc_action_slpc_unset_param(guc, id);
-}
-
 static int slpc_force_min_freq(struct intel_guc_slpc *slpc, u32 freq)
 {
 	struct drm_i915_private *i915 = slpc_to_i915(slpc);
@@ -597,29 +576,6 @@ static int slpc_set_softlimits(struct intel_guc_slpc *slpc)
 	return 0;
 }
 
-static int slpc_ignore_eff_freq(struct intel_guc_slpc *slpc, bool ignore)
-{
-	int ret = 0;
-
-	if (ignore) {
-		ret = slpc_set_param(slpc,
-				     SLPC_PARAM_IGNORE_EFFICIENT_FREQUENCY,
-				     ignore);
-		if (!ret)
-			return slpc_set_param(slpc,
-					      SLPC_PARAM_GLOBAL_MIN_GT_UNSLICE_FREQ_MHZ,
-					      slpc->min_freq);
-	} else {
-		ret = slpc_unset_param(slpc,
-				       SLPC_PARAM_IGNORE_EFFICIENT_FREQUENCY);
-		if (!ret)
-			return slpc_unset_param(slpc,
-						SLPC_PARAM_GLOBAL_MIN_GT_UNSLICE_FREQ_MHZ);
-	}
-
-	return ret;
-}
-
 static int slpc_use_fused_rp0(struct intel_guc_slpc *slpc)
 {
 	/* Force SLPC to used platform rp0 */
@@ -679,14 +635,6 @@ int intel_guc_slpc_enable(struct intel_guc_slpc *slpc)
 
 	slpc_get_rp_values(slpc);
 
-	/* Ignore efficient freq and set min to platform min */
-	ret = slpc_ignore_eff_freq(slpc, true);
-	if (unlikely(ret)) {
-		i915_probe_error(i915, "Failed to set SLPC min to RPn (%pe)\n",
-				 ERR_PTR(ret));
-		return ret;
-	}
-
 	/* Set SLPC max limit to RP0 */
 	ret = slpc_use_fused_rp0(slpc);
 	if (unlikely(ret)) {
Signature · 1 line
2.35.1
#1 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/guc/slpc: Allow SLPC to use efficient frequency

== Series Details ==

== Series Details ==

Series: drm/i915/guc/slpc: Allow SLPC to use efficient frequency
URL : https://patchwork.freedesktop.org/series/107101/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_11977 -> Patchwork_107101v1
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_107101v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_107101v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/index.html

Participating hosts (42 -> 37)
------------------------------

Missing (5): fi-hsw-4200u fi-ctg-p8600 bat-jsl-3 bat-rpls-2 fi-bdw-samus

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_107101v1:

### IGT changes ###

#### Possible regressions ####

* igt@i915_pm_rps@basic-api:
- bat-adlp-4: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-adlp-4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-adlp-4/igt@[email protected]

* igt@i915_selftest@live@slpc:
- bat-adlp-4: [PASS][3] -> [DMESG-FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-adlp-4/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-adlp-4/igt@i915_selftest@[email protected]
- bat-dg1-5: [PASS][5] -> [DMESG-FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-dg1-5/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-dg1-5/igt@i915_selftest@[email protected]
- bat-dg1-6: [PASS][7] -> [DMESG-FAIL][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-dg1-6/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-dg1-6/igt@i915_selftest@[email protected]

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@i915_pm_rps@basic-api:
- {bat-adlp-6}: [PASS][9] -> [FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-adlp-6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-adlp-6/igt@[email protected]
- {bat-rplp-1}: [PASS][11] -> [FAIL][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-rplp-1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-rplp-1/igt@[email protected]

* igt@i915_selftest@live@gt_lrc:
- {bat-dg2-8}: [PASS][13] -> [INCOMPLETE][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-dg2-8/igt@i915_selftest@live@gt_lrc.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-dg2-8/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@slpc:
- {bat-rpls-1}: [PASS][15] -> [DMESG-FAIL][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-rpls-1/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-rpls-1/igt@i915_selftest@[email protected]
- {bat-adlp-6}: [PASS][17] -> [DMESG-FAIL][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-adlp-6/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-adlp-6/igt@i915_selftest@[email protected]
- {bat-adlm-1}: [PASS][19] -> [DMESG-FAIL][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-adlm-1/igt@i915_selftest@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-adlm-1/igt@i915_selftest@[email protected]
- {bat-rplp-1}: [PASS][21] -> [DMESG-FAIL][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-rplp-1/igt@i915_selftest@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-rplp-1/igt@i915_selftest@[email protected]

Known issues
------------

Here are the changes found in Patchwork_107101v1 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_render_tiled_blits@basic:
- fi-apl-guc: [PASS][23] -> [INCOMPLETE][24] ([i915#6532])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/fi-apl-guc/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/fi-apl-guc/igt@[email protected]

* igt@i915_pm_rps@basic-api:
- bat-dg1-6: [PASS][25] -> [FAIL][26] ([i915#4032])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-dg1-6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-dg1-6/igt@[email protected]
- bat-dg1-5: [PASS][27] -> [FAIL][28] ([i915#4032])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-dg1-5/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-dg1-5/igt@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- fi-bdw-5557u: [PASS][29] -> [DMESG-FAIL][30] ([i915#5334])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/fi-bdw-5557u/igt@i915_selftest@live@gt_heartbeat.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/fi-bdw-5557u/igt@i915_selftest@live@gt_heartbeat.html

* igt@i915_selftest@live@hangcheck:
- fi-hsw-g3258: [PASS][31] -> [INCOMPLETE][32] ([i915#3303] / [i915#4785])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/fi-hsw-g3258/igt@i915_selftest@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/fi-hsw-g3258/igt@i915_selftest@[email protected]

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-bdw-5557u: NOTRUN -> [SKIP][33] ([fdo#109271] / [fdo#111827])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/fi-bdw-5557u/igt@[email protected]

* igt@runner@aborted:
- fi-hsw-g3258: NOTRUN -> [FAIL][34] ([fdo#109271] / [i915#4312] / [i915#6246])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/fi-hsw-g3258/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3@smem:
- {bat-adlm-1}: [DMESG-WARN][35] ([i915#2867]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11977/bat-adlm-1/igt@gem_exec_suspend@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/bat-adlm-1/igt@gem_exec_suspend@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
[i915#4032]: https://gitlab.freedesktop.org/drm/intel/issues/4032
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#5087]: https://gitlab.freedesktop.org/drm/intel/issues/5087
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6246]: https://gitlab.freedesktop.org/drm/intel/issues/6246
[i915#6257]: https://gitlab.freedesktop.org/drm/intel/issues/6257
[i915#6532]: https://gitlab.freedesktop.org/drm/intel/issues/6532

Build changes
-------------

* Linux: CI_DRM_11977 -> Patchwork_107101v1

CI-20190529: 20190529
CI_DRM_11977: 71776a3cc166e6400e713acdd2b03094120e1baa @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6619: ec2ab8e3a151ce05bd2726319c528c2ab99e8a96 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_107101v1: 71776a3cc166e6400e713acdd2b03094120e1baa @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

ec204f791ebd drm/i915/guc/slpc: Allow SLPC to use efficient frequency

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_107101v1/index.html

maintainer
#2 lore raw
In reply to Vinay Belgaumkar
Quoted 8 lines · Vinay Belgaumkar

Host Turbo operates at efficient frequency when GT is not idle unless the user or workload has forced it to a higher level. Replicate the same behavior in SLPC by allowing the algorithm to use efficient frequency. We had disabled it during boot due to concerns that it might break kernel ABI for min frequency. However, this is not the case, since SLPC will still abide by the (min,max) range limits and pcode forces frequency to 0 anyways when GT is in C6.

Quoted 6 lines

We also see much better perf numbers with benchmarks like glmark2 with efficient frequency usage enabled.

Fixes 025cb07bebfa ("drm/i915/guc/slpc: Cache platform frequency limits")

I'm honestly surprised that our CI passed cleanly. What happens when user request both min and max < rpe?

I'm sure that in this case GuC SLPC will put us to rpe ignoring our requests. Or is this good enough for the users expectation because of the soft limits showing the requested freq and we not asking to guc what it currently has as minimal?

I just want to be sure that we are not causing any confusion for end users out there in the case they request some min/max below RPe and start seeing mismatches on the expectation because GuC is forcing the real min request to RPe.

My suggestion is to ignore the RPe whenever we have a min request below it. So GuC respects our (and users) chosen min. And restore whenever min request is abobe rpe.

Thanks,
Rodrigo.

Quoted 91 lines
---
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 52 ---------------------
 1 file changed, 52 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +0 -52
index e1fa1f32f29e..4b824da3048a 100644
@@ -137,17 +137,6 @@ static int guc_action_slpc_set_param(struct intel_guc *guc, u8 id, u32 value)
 	return ret > 0 ? -EPROTO : ret;
 }
 
-static int guc_action_slpc_unset_param(struct intel_guc *guc, u8 id)
-{
-	u32 request[] = {
-		GUC_ACTION_HOST2GUC_PC_SLPC_REQUEST,
-		SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 1),
-		id,
-	};
-
-	return intel_guc_send(guc, request, ARRAY_SIZE(request));
-}
-
 static bool slpc_is_running(struct intel_guc_slpc *slpc)
 {
 	return slpc_get_state(slpc) == SLPC_GLOBAL_STATE_RUNNING;
@@ -201,16 +190,6 @@ static int slpc_set_param(struct intel_guc_slpc *slpc, u8 id, u32 value)
 	return ret;
 }
 
-static int slpc_unset_param(struct intel_guc_slpc *slpc,
-			    u8 id)
-{
-	struct intel_guc *guc = slpc_to_guc(slpc);
-
-	GEM_BUG_ON(id >= SLPC_MAX_PARAM);
-
-	return guc_action_slpc_unset_param(guc, id);
-}
-
 static int slpc_force_min_freq(struct intel_guc_slpc *slpc, u32 freq)
 {
 	struct drm_i915_private *i915 = slpc_to_i915(slpc);
@@ -597,29 +576,6 @@ static int slpc_set_softlimits(struct intel_guc_slpc *slpc)
 	return 0;
 }
 
-static int slpc_ignore_eff_freq(struct intel_guc_slpc *slpc, bool ignore)
-{
-	int ret = 0;
-
-	if (ignore) {
-		ret = slpc_set_param(slpc,
-				     SLPC_PARAM_IGNORE_EFFICIENT_FREQUENCY,
-				     ignore);
-		if (!ret)
-			return slpc_set_param(slpc,
-					      SLPC_PARAM_GLOBAL_MIN_GT_UNSLICE_FREQ_MHZ,
-					      slpc->min_freq);
-	} else {
-		ret = slpc_unset_param(slpc,
-				       SLPC_PARAM_IGNORE_EFFICIENT_FREQUENCY);
-		if (!ret)
-			return slpc_unset_param(slpc,
-						SLPC_PARAM_GLOBAL_MIN_GT_UNSLICE_FREQ_MHZ);
-	}
-
-	return ret;
-}
-
 static int slpc_use_fused_rp0(struct intel_guc_slpc *slpc)
 {
 	/* Force SLPC to used platform rp0 */
@@ -679,14 +635,6 @@ int intel_guc_slpc_enable(struct intel_guc_slpc *slpc)
 
 	slpc_get_rp_values(slpc);
 
-	/* Ignore efficient freq and set min to platform min */
-	ret = slpc_ignore_eff_freq(slpc, true);
-	if (unlikely(ret)) {
-		i915_probe_error(i915, "Failed to set SLPC min to RPn (%pe)\n",
-				 ERR_PTR(ret));
-		return ret;
-	}
-
 	/* Set SLPC max limit to RP0 */
 	ret = slpc_use_fused_rp0(slpc);
 	if (unlikely(ret)) {
Signature · 1 line
2.35.1
#3 lore raw
Quoted 23 lines · Rodrigo Vivi
Quoted 8 lines · Vinay Belgaumkar

Host Turbo operates at efficient frequency when GT is not idle unless the user or workload has forced it to a higher level. Replicate the same behavior in SLPC by allowing the algorithm to use efficient frequency. We had disabled it during boot due to concerns that it might break kernel ABI for min frequency. However, this is not the case, since SLPC will still abide by the (min,max) range limits and pcode forces frequency to 0 anyways when GT is in C6.

Quoted 6 lines

We also see much better perf numbers with benchmarks like glmark2 with efficient frequency usage enabled.

Fixes 025cb07bebfa ("drm/i915/guc/slpc: Cache platform frequency limits")

I'm honestly surprised that our CI passed cleanly. What happens when user request both min and max < rpe?

I'm sure that in this case GuC SLPC will put us to rpe ignoring our requests. Or is this good enough for the users expectation because of the soft limits showing the requested freq and we not asking to guc what it currently has as minimal?

Quoted 8 lines

I just want to be sure that we are not causing any confusion for end users out there in the case they request some min/max below RPe and start seeing mismatches on the expectation because GuC is forcing the real min request to RPe.

My suggestion is to ignore the RPe whenever we have a min request below it. So GuC respects our (and users) chosen min. And restore whenever min request is abobe rpe.

Yup, I have already sent a patch yesterday with that change, doesn't look like CI has run on it yet. This was the old version.

Thanks,

Vinay.

Quoted 95 lines

Thanks,
Rodrigo.

Quoted 91 lines
---
  drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 52 ---------------------
  1 file changed, 52 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +0 -52
index e1fa1f32f29e..4b824da3048a 100644
@@ -137,17 +137,6 @@ static int guc_action_slpc_set_param(struct intel_guc *guc, u8 id, u32 value)
  	return ret > 0 ? -EPROTO : ret;
  }
 
-static int guc_action_slpc_unset_param(struct intel_guc *guc, u8 id)
-{
-	u32 request[] = {
-		GUC_ACTION_HOST2GUC_PC_SLPC_REQUEST,
-		SLPC_EVENT(SLPC_EVENT_PARAMETER_UNSET, 1),
-		id,
-	};
-
-	return intel_guc_send(guc, request, ARRAY_SIZE(request));
-}
-
  static bool slpc_is_running(struct intel_guc_slpc *slpc)
  {
  	return slpc_get_state(slpc) == SLPC_GLOBAL_STATE_RUNNING;
@@ -201,16 +190,6 @@ static int slpc_set_param(struct intel_guc_slpc *slpc, u8 id, u32 value)
  	return ret;
  }
 
-static int slpc_unset_param(struct intel_guc_slpc *slpc,
-			    u8 id)
-{
-	struct intel_guc *guc = slpc_to_guc(slpc);
-
-	GEM_BUG_ON(id >= SLPC_MAX_PARAM);
-
-	return guc_action_slpc_unset_param(guc, id);
-}
-
  static int slpc_force_min_freq(struct intel_guc_slpc *slpc, u32 freq)
  {
  	struct drm_i915_private *i915 = slpc_to_i915(slpc);
@@ -597,29 +576,6 @@ static int slpc_set_softlimits(struct intel_guc_slpc *slpc)
  	return 0;
  }
 
-static int slpc_ignore_eff_freq(struct intel_guc_slpc *slpc, bool ignore)
-{
-	int ret = 0;
-
-	if (ignore) {
-		ret = slpc_set_param(slpc,
-				     SLPC_PARAM_IGNORE_EFFICIENT_FREQUENCY,
-				     ignore);
-		if (!ret)
-			return slpc_set_param(slpc,
-					      SLPC_PARAM_GLOBAL_MIN_GT_UNSLICE_FREQ_MHZ,
-					      slpc->min_freq);
-	} else {
-		ret = slpc_unset_param(slpc,
-				       SLPC_PARAM_IGNORE_EFFICIENT_FREQUENCY);
-		if (!ret)
-			return slpc_unset_param(slpc,
-						SLPC_PARAM_GLOBAL_MIN_GT_UNSLICE_FREQ_MHZ);
-	}
-
-	return ret;
-}
-
  static int slpc_use_fused_rp0(struct intel_guc_slpc *slpc)
  {
  	/* Force SLPC to used platform rp0 */
@@ -679,14 +635,6 @@ int intel_guc_slpc_enable(struct intel_guc_slpc *slpc)
 
  	slpc_get_rp_values(slpc);
 
-	/* Ignore efficient freq and set min to platform min */
-	ret = slpc_ignore_eff_freq(slpc, true);
-	if (unlikely(ret)) {
-		i915_probe_error(i915, "Failed to set SLPC min to RPn (%pe)\n",
-				 ERR_PTR(ret));
-		return ret;
-	}
-
  	/* Set SLPC max limit to RP0 */
  	ret = slpc_use_fused_rp0(slpc);
  	if (unlikely(ret)) {
Signature · 1 line
2.35.1