From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>,
intel-xe@lists.freedesktop.org
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH] drm/xe: Fix drm-next merge
Date: Mon, 04 Nov 2024 20:24:16 +0100 [thread overview]
Message-ID: <2f2ed0abb1260579d004fa6746a8f4b8e75064db.camel@linux.intel.com> (raw)
In-Reply-To: <20241104183104.2265275-1-lucas.demarchi@intel.com>
On Mon, 2024-11-04 at 10:31 -0800, Lucas De Marchi wrote:
> Fix merge in commit c787c2901e2c ("Merge drm/drm-next into
> drm-xe-next"). That workaround needs to be done only once.
>
> Fixes: c787c2901e2c ("Merge drm/drm-next into drm-xe-next")
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> ---
> drivers/gpu/drm/xe/xe_guc_ct.c | 19 -------------------
> 1 file changed, 19 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_guc_ct.c
> b/drivers/gpu/drm/xe/xe_guc_ct.c
> index a405b9218ad2d..550eeed43903b 100644
> --- a/drivers/gpu/drm/xe/xe_guc_ct.c
> +++ b/drivers/gpu/drm/xe/xe_guc_ct.c
> @@ -1017,7 +1017,6 @@ static int guc_ct_send_recv(struct xe_guc_ct
> *ct, const u32 *action, u32 len,
> }
>
> ret = wait_event_timeout(ct->g2h_fence_wq, g2h_fence.done,
> HZ);
> -
This looks unrelated.
Otherwise LGTM.
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> if (!ret) {
> LNL_FLUSH_WORK(&ct->g2h_worker);
> if (g2h_fence.done) {
> @@ -1027,24 +1026,6 @@ static int guc_ct_send_recv(struct xe_guc_ct
> *ct, const u32 *action, u32 len,
> }
> }
>
> - /*
> - * Occasionally it is seen that the G2H worker starts
> running after a delay of more than
> - * a second even after being queued and activated by the
> Linux workqueue subsystem. This
> - * leads to G2H timeout error. The root cause of issue lies
> with scheduling latency of
> - * Lunarlake Hybrid CPU. Issue dissappears if we disable
> Lunarlake atom cores from BIOS
> - * and this is beyond xe kmd.
> - *
> - * TODO: Drop this change once workqueue scheduling delay
> issue is fixed on LNL Hybrid CPU.
> - */
> - if (!ret) {
> - flush_work(&ct->g2h_worker);
> - if (g2h_fence.done) {
> - xe_gt_warn(gt, "G2H fence %u, action %04x,
> done\n",
> - g2h_fence.seqno, action[0]);
> - ret = 1;
> - }
> - }
> -
> /*
> * Ensure we serialize with completion side to prevent UAF
> with fence going out of scope on
> * the stack, since we have no clue if it will fire after
> the timeout before we can erase
next prev parent reply other threads:[~2024-11-04 19:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 18:31 [PATCH] drm/xe: Fix drm-next merge Lucas De Marchi
2024-11-04 19:24 ` Thomas Hellström [this message]
2024-11-05 6:48 ` Lucas De Marchi
2024-11-04 21:07 ` ✓ CI.Patch_applied: success for " Patchwork
2024-11-04 21:07 ` ✓ CI.checkpatch: " Patchwork
2024-11-04 21:08 ` ✓ CI.KUnit: " Patchwork
2024-11-04 21:20 ` ✓ CI.Build: " Patchwork
2024-11-04 21:22 ` ✓ CI.Hooks: " Patchwork
2024-11-04 21:23 ` ✓ CI.checksparse: " Patchwork
2024-11-05 17:53 ` ✗ CI.FULL: 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=2f2ed0abb1260579d004fa6746a8f4b8e75064db.camel@linux.intel.com \
--to=thomas.hellstrom@linux.intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--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