Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Shyti <andi.shyti@linux.intel.com>
To: Mikolaj Wasiak <mikolaj.wasiak@intel.com>
Cc: igt-dev@lists.freedesktop.org, chris.p.wilson@intel.com,
	krzysztof.karas@intel.com
Subject: Re: [PATCH i-g-t v2] tests/intel/i915_hangman: Fix spin engine hang
Date: Wed, 27 Nov 2024 18:06:12 +0100	[thread overview]
Message-ID: <Z0dRhNam6i6ZFsAN@ashyti-mobl2.lan> (raw)
In-Reply-To: <w4npzgyztxkpsliinu5racl6pnxndfohxmybsmuv47lk25f2rw@7kdownjakpou>

Hi Mikolaj,

On Mon, Nov 25, 2024 at 10:25:50AM +0100, Mikolaj Wasiak wrote:
> Apply workaround when running background spins in hangman test.
> Disable bcs0 background engine when testing ccs0 and vice-versa.
> 
> Signed-off-by: Mikolaj Wasiak <mikolaj.wasiak@intel.com>
> ---
>  tests/intel/i915_hangman.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/tests/intel/i915_hangman.c b/tests/intel/i915_hangman.c
> index a556eec53..2948cebd7 100644
> --- a/tests/intel/i915_hangman.c
> +++ b/tests/intel/i915_hangman.c
> @@ -365,6 +365,12 @@ static void chk_err(int *dst, int err, int expected)
>  #define ERR_FENCE_END  3
>  #define ERR_FENCE_STAT 4
>  
> +static bool
> +is_bcs_ccs(const struct intel_execution_engine2 *e) {

Please use Linux kernel coding style here.

Besides this declaration fits in one line within 80 characters,
no need to break it into two lines.

Otherwise the patch is fine.

Andi

  parent reply	other threads:[~2024-11-27 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-25  9:25 [PATCH i-g-t v2] tests/intel/i915_hangman: Fix spin engine hang Mikolaj Wasiak
2024-11-25 10:23 ` ✓ Xe.CI.BAT: success for tests/intel/i915_hangman: Fix spin engine hang (rev2) Patchwork
2024-11-25 10:37 ` ✓ i915.CI.BAT: " Patchwork
2024-11-25 12:02 ` ✗ Xe.CI.Full: failure " Patchwork
2024-11-25 12:04 ` ✗ i915.CI.Full: " Patchwork
2024-11-27 17:06 ` Andi Shyti [this message]
2024-11-28  9:33 ` [PATCH i-g-t v2] tests/intel/i915_hangman: Fix spin engine hang Krzysztof Karas

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=Z0dRhNam6i6ZFsAN@ashyti-mobl2.lan \
    --to=andi.shyti@linux.intel.com \
    --cc=chris.p.wilson@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=krzysztof.karas@intel.com \
    --cc=mikolaj.wasiak@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