Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Nirmoy Das <nirmoy.das@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] i915/gem_ctx_exec: Open master device when setting error state
Date: Thu, 28 Jul 2022 10:15:28 -0700	[thread overview]
Message-ID: <87bkt9gnv3.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20220728124735.23529-1-nirmoy.das@intel.com>

On Thu, 28 Jul 2022 05:47:35 -0700, Nirmoy Das wrote:
>
> Error capture file is in /sys/class/drm/cardN/error so open the
> master device instead of render dev when test needs to change
> error state sysfs file.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>

>
> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6268
> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
> ---
>  tests/i915/gem_ctx_exec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/i915/gem_ctx_exec.c b/tests/i915/gem_ctx_exec.c
> index 3d94f01db..a85ea971c 100644
> --- a/tests/i915/gem_ctx_exec.c
> +++ b/tests/i915/gem_ctx_exec.c
> @@ -456,7 +456,7 @@ igt_main
>	int fd;
>
>	igt_fixture {
> -		fd = drm_open_driver_render(DRIVER_INTEL);
> +		fd = drm_open_driver_master(DRIVER_INTEL);
>		igt_require_gem(fd);
>
>		gem_require_contexts(fd);
> --
> 2.35.1
>

      parent reply	other threads:[~2022-07-28 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-28 12:47 [igt-dev] [PATCH i-g-t] i915/gem_ctx_exec: Open master device when setting error state Nirmoy Das
2022-07-28 14:05 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2022-07-28 17:15 ` Dixit, Ashutosh [this message]

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=87bkt9gnv3.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=nirmoy.das@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