From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Badal Nilawar <badal.nilawar@intel.com>
Cc: <intel-gfx@lists.freedesktop.org>, <anshuman.gupta@intel.com>,
<andrzej.hajda@intel.com>, <andi.shyti@intel.com>
Subject: Re: [PATCH 1/2] drm/i915/mtl: Disable render power-gating during selftest only
Date: Fri, 10 Jan 2025 16:07:06 -0500 [thread overview]
Message-ID: <Z4GL-jY_nMSF-pj0@intel.com> (raw)
In-Reply-To: <20250110140947.3471824-2-badal.nilawar@intel.com>
On Fri, Jan 10, 2025 at 07:39:46PM +0530, Badal Nilawar wrote:
> The temporary wa ‘drm/i915/mtl: do not enable render power-gating on MTL’ disables RPG
> globally. Since the issue seen during live self-tests disabling it during these tests.
>
> Fixes: 25e7976db86b ("drm/i915/mtl: do not enable render power-gating on MTL")
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Andi Shyti <andi.shyti@intel.com>
> Cc: Andrzej Hajda <andrzej.hajda@intel.com>
> Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
> ---
> drivers/gpu/drm/i915/gt/intel_rc6.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_rc6.c b/drivers/gpu/drm/i915/gt/intel_rc6.c
> index 9378d5901c49..2dd68ca7ec0e 100644
> --- a/drivers/gpu/drm/i915/gt/intel_rc6.c
> +++ b/drivers/gpu/drm/i915/gt/intel_rc6.c
> @@ -123,7 +123,7 @@ static void gen11_rc6_enable(struct intel_rc6 *rc6)
> * temporary wa and should be removed after fixing real cause
> * of forcewake timeouts.
> */
> - if (IS_GFX_GT_IP_RANGE(gt, IP_VER(12, 70), IP_VER(12, 74)))
> + if (i915_selftest.live && IS_GFX_GT_IP_RANGE(gt, IP_VER(12, 70), IP_VER(12, 74)))
hmmm... is there something we could do inside the selftest to mitigate that?
here it is crossing (abusing?!) a lot of layers to workaround a case...
also this starts to depend on some config flags, what the compilation bot test hit...
> pg_enable =
> GEN9_MEDIA_PG_ENABLE |
> GEN11_MEDIA_SAMPLER_PG_ENABLE;
> --
> 2.34.1
>
next prev parent reply other threads:[~2025-01-10 21:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 14:09 [PATCH 0/2] Disable RPG during live selftest Badal Nilawar
2025-01-10 14:09 ` [PATCH 1/2] drm/i915/mtl: Disable render power-gating during selftest only Badal Nilawar
2025-01-10 17:27 ` kernel test robot
2025-01-10 21:07 ` Rodrigo Vivi [this message]
2025-01-11 10:55 ` kernel test robot
2025-01-10 14:09 ` [PATCH 2/2] drm/i915: Disable rpg for Gen 12 and above Badal Nilawar
2025-01-10 14:19 ` ✗ Fi.CI.CHECKPATCH: warning for Disable RPG during live selftest Patchwork
2025-01-10 14:19 ` ✗ Fi.CI.SPARSE: " Patchwork
2025-01-10 14:49 ` ✗ i915.CI.BAT: failure " Patchwork
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=Z4GL-jY_nMSF-pj0@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=andi.shyti@intel.com \
--cc=andrzej.hajda@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=badal.nilawar@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.