From: "Belgaumkar, Vinay" <vinay.belgaumkar@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>, <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/3] drm/i915/guc/slpc: Enable GuC SLPC default strategies
Date: Wed, 8 Jan 2025 11:11:53 -0800 [thread overview]
Message-ID: <9620547a-6512-4d54-bc11-08826da1adaf@intel.com> (raw)
In-Reply-To: <20250108141318.63823-3-rodrigo.vivi@intel.com>
On 1/8/2025 6:13 AM, Rodrigo Vivi wrote:
> The Balancer and DCC strategies were left off on a fear that
> these strategies would conflict with the i915's waitboost.
> However, these strategies are only active in certain conditions where
> the system is TDP limited. So, they don't conflict, but help the
> waitboost by guaranteeing a bit more of GT frequency.
>
> Without these strategies we were likely leaving some performance
> behind on some scenarious.
s/scenarious/scenarios
We should also mention that the platform defaults for enabling/disabling
DCC/Balancer will now be chosen by GuC.
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
>
> Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 17 -----------------
> 1 file changed, 17 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
> index 706fffca698b..722da8a7f852 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
> @@ -76,17 +76,6 @@ static void slpc_mem_set_enabled(struct slpc_shared_data *data,
> slpc_mem_set_param(data, disable_id, 0);
> }
>
> -static void slpc_mem_set_disabled(struct slpc_shared_data *data,
> - u8 enable_id, u8 disable_id)
> -{
> - /*
> - * Disabling a param involves setting the enable_id
> - * to 0 and disable_id to 1.
> - */
> - slpc_mem_set_param(data, disable_id, 1);
> - slpc_mem_set_param(data, enable_id, 0);
> -}
> -
> static u32 slpc_get_state(struct intel_guc_slpc *slpc)
> {
> struct slpc_shared_data *data;
> @@ -366,12 +355,6 @@ static void slpc_shared_data_reset(struct slpc_shared_data *data)
> /* Enable only GTPERF task, disable others */
> slpc_mem_set_enabled(data, SLPC_PARAM_TASK_ENABLE_GTPERF,
> SLPC_PARAM_TASK_DISABLE_GTPERF);
> -
> - slpc_mem_set_disabled(data, SLPC_PARAM_TASK_ENABLE_BALANCER,
> - SLPC_PARAM_TASK_DISABLE_BALANCER);
> -
> - slpc_mem_set_disabled(data, SLPC_PARAM_TASK_ENABLE_DCC,
> - SLPC_PARAM_TASK_DISABLE_DCC);
> }
>
> /**
next prev parent reply other threads:[~2025-01-08 19:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 14:13 [PATCH 0/3] Enable GuC SLPC default balancing strategies v2 Rodrigo Vivi
2025-01-08 14:13 ` [PATCH 1/3] drm/i915: Increase the timeout of the spinners Rodrigo Vivi
2025-01-08 14:13 ` [PATCH 2/3] drm/i915/guc/slpc: Enable GuC SLPC default strategies Rodrigo Vivi
2025-01-08 19:11 ` Belgaumkar, Vinay [this message]
2025-01-08 19:30 ` Dixit, Ashutosh
2025-01-08 21:19 ` Rodrigo Vivi
2025-01-09 5:18 ` Dixit, Ashutosh
2025-01-09 19:00 ` Rodrigo Vivi
2025-01-09 21:32 ` Dixit, Ashutosh
2025-01-08 14:13 ` [PATCH 3/3] drm/i915/guc/slpc: Print more SLPC debug status information Rodrigo Vivi
2025-01-08 19:08 ` Belgaumkar, Vinay
2025-01-08 16:10 ` ✓ i915.CI.BAT: success for Enable GuC SLPC default balancing strategies (rev3) Patchwork
2025-01-09 18:06 ` ✓ i915.CI.Full: " Patchwork
2025-01-09 22:28 ` [PATCH 0/3] Enable GuC SLPC default balancing strategies v2 Rodrigo Vivi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9620547a-6512-4d54-bc11-08826da1adaf@intel.com \
--to=vinay.belgaumkar@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rodrigo.vivi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox