From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Badal Nilawar <badal.nilawar@intel.com>
Cc: gregory.f.germano@intel.com, intel-gfx@lists.freedesktop.org,
srikanth.nandamuri@intel.com, hima.b.chilmakuru@intel.com
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/mtl: Disable MC6 for MTL A step
Date: Wed, 8 Mar 2023 08:29:40 -0500 [thread overview]
Message-ID: <ZAiNxOZ0Vhqou/1n@intel.com> (raw)
In-Reply-To: <20230308102109.2386712-3-badal.nilawar@intel.com>
On Wed, Mar 08, 2023 at 03:51:09PM +0530, Badal Nilawar wrote:
> The Wa_14017073508 require to send Media Busy/Idle mailbox while
> accessing Media tile. As of now it is getting handled while __gt_unpark,
> __gt_park. But there are various corner cases where forcewakes are taken
> without __gt_unpark i.e. without sending Busy Mailbox especially during
> register reads. Forcewakes are taken without busy mailbox leads to
> GPU HANG. So bringing mailbox calls under forcewake calls are no feasible
> option as forcewake calls are atomic and mailbox calls are blocking.
> The issue already fixed in B step so disabling MC6 on A step and
> reverting previous commits which handles Wa_14017073508
>
> Fixes: 8f70f1ec587d ("drm/i915/mtl: Add Wa_14017073508 for SAMedia")
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
This patch should probably come before the revert itself.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/i915/gt/intel_rc6.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_rc6.c b/drivers/gpu/drm/i915/gt/intel_rc6.c
> index 5c91622dfca4..f4150f61f39c 100644
> --- a/drivers/gpu/drm/i915/gt/intel_rc6.c
> +++ b/drivers/gpu/drm/i915/gt/intel_rc6.c
> @@ -486,6 +486,7 @@ static bool bxt_check_bios_rc6_setup(struct intel_rc6 *rc6)
> static bool rc6_supported(struct intel_rc6 *rc6)
> {
> struct drm_i915_private *i915 = rc6_to_i915(rc6);
> + struct intel_gt *gt = rc6_to_gt(rc6);
>
> if (!HAS_RC6(i915))
> return false;
> @@ -502,6 +503,13 @@ static bool rc6_supported(struct intel_rc6 *rc6)
> return false;
> }
>
> + if (IS_MTL_MEDIA_STEP(gt->i915, STEP_A0, STEP_B0) &&
> + gt->type == GT_MEDIA) {
> + drm_notice(&i915->drm,
> + "Media RC6 disabled on A step\n");
> + return false;
> + }
> +
> return true;
> }
>
> --
> 2.25.1
>
next prev parent reply other threads:[~2023-03-08 13:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 10:21 [Intel-gfx] [PATCH 0/2] drm/i915/mtl: Disable MC6 for MTL A step Badal Nilawar
2023-03-08 10:21 ` [Intel-gfx] [PATCH 1/2] Revert "drm/i915/mtl: Add Wa_14017073508 for SAMedia" Badal Nilawar
2023-03-08 11:18 ` Jani Nikula
2023-03-08 15:25 ` Nilawar, Badal
2023-03-09 5:38 ` Nilawar, Badal
2023-03-09 14:05 ` Rodrigo Vivi
2023-03-08 10:21 ` [Intel-gfx] [PATCH 2/2] drm/i915/mtl: Disable MC6 for MTL A step Badal Nilawar
2023-03-08 13:29 ` Rodrigo Vivi [this message]
2023-03-08 15:24 ` Nilawar, Badal
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=ZAiNxOZ0Vhqou/1n@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=badal.nilawar@intel.com \
--cc=gregory.f.germano@intel.com \
--cc=hima.b.chilmakuru@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=srikanth.nandamuri@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