From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe: Restore GT freq on GSC load error
Date: Thu, 26 Sep 2024 15:01:49 -0400 [thread overview]
Message-ID: <ZvWvnZELySq67NR6@intel.com> (raw)
In-Reply-To: <20240925204918.1989574-1-vinay.belgaumkar@intel.com>
On Wed, Sep 25, 2024 at 01:49:18PM -0700, Vinay Belgaumkar wrote:
> As part of a Wa_22019338487, ensure that GT freq is restored
> even when GSC reload is not successful.
>
> Fixes: 3b1592fb7835 ("drm/xe/lnl: Apply Wa_22019338487")
>
> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
> index 796b330ffd62..a5083ffc59f4 100644
> --- a/drivers/gpu/drm/xe/xe_gt.c
> +++ b/drivers/gpu/drm/xe/xe_gt.c
> @@ -908,7 +908,9 @@ int xe_gt_sanitize_freq(struct xe_gt *gt)
> int ret = 0;
>
> if ((!xe_uc_fw_is_available(>->uc.gsc.fw) ||
> - xe_uc_fw_is_loaded(>->uc.gsc.fw)) && XE_WA(gt, 22019338487))
> + xe_uc_fw_is_loaded(>->uc.gsc.fw) ||
> + xe_uc_fw_is_in_error_state(>->uc.gsc.fw)) &&
> + XE_WA(gt, 22019338487))
> ret = xe_guc_pc_restore_stashed_freq(>->uc.guc.pc);
>
> return ret;
> --
> 2.38.1
>
next prev parent reply other threads:[~2024-09-26 19:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-25 20:49 [PATCH] drm/xe: Restore GT freq on GSC load error Vinay Belgaumkar
2024-09-26 16:06 ` ✓ CI.Patch_applied: success for " Patchwork
2024-09-26 16:07 ` ✓ CI.checkpatch: " Patchwork
2024-09-26 16:08 ` ✓ CI.KUnit: " Patchwork
2024-09-26 16:19 ` ✓ CI.Build: " Patchwork
2024-09-26 16:21 ` ✓ CI.Hooks: " Patchwork
2024-09-26 16:23 ` ✓ CI.checksparse: " Patchwork
2024-09-26 16:51 ` ✓ CI.BAT: " Patchwork
2024-09-26 19:01 ` Rodrigo Vivi [this message]
2024-09-27 14:57 ` ✗ CI.FULL: failure " Patchwork
2024-09-27 16:56 ` Belgaumkar, Vinay
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=ZvWvnZELySq67NR6@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=vinay.belgaumkar@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