public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Damien Lespiau <damien.lespiau@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org, Ben Widawsky <ben@bwidawsk.net>
Subject: Re: [PATCH 07/10] drm/i915/bdw: collect semaphore error state
Date: Mon, 14 Jul 2014 11:04:22 +0100	[thread overview]
Message-ID: <20140714100422.GA25136@strange.icx.intel.com> (raw)
In-Reply-To: <1404147224-2978-7-git-send-email-rodrigo.vivi@intel.com>

On Mon, Jun 30, 2014 at 09:53:41AM -0700, Rodrigo Vivi wrote:
> +	for_each_ring(useless, dev_priv, i) {
> +		u16 signal_offset =
> +			(GEN8_SIGNAL_OFFSET(ring, i) & PAGE_MASK) / 4;
> +		u32 *tmp = error->semaphore_obj->pages[0];
> +
> +		ering->semaphore_mboxes[i] = tmp[signal_offset];
> +		ering->semaphore_seqno[i] = ring->semaphore.sync_seqno[i];
> +	}
> +}

This loops around all the rings, but semaphore_mboxes[] and
semaphore_seqno[] are of size (I915_NUM_RINGS - 1).

-- 
Damien

  reply	other threads:[~2014-07-14 10:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 16:53 [PATCH 01/10] drm/i915: Make semaphore updates more precise Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 02/10] drm/i915: gen specific ring init Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 03/10] drm/i915/bdw: implement semaphore signal Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 04/10] drm/i915/bdw: implement semaphore wait Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 05/10] drm/i915: Implement MI decode for gen8 Rodrigo Vivi
2014-07-01  0:13   ` Ben Widawsky
2014-07-07 21:17   ` Daniel Vetter
2014-07-07 14:29     ` [PATCH] " Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 06/10] drm/i915: Extract semaphore error collection Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 07/10] drm/i915/bdw: collect semaphore error state Rodrigo Vivi
2014-07-14 10:04   ` Damien Lespiau [this message]
2014-07-14 18:22     ` Ben Widawsky
2014-06-30 16:53 ` [PATCH 08/10] drm/i915: semaphore debugfs Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 09/10] drm/i915/bdw: poll semaphores Rodrigo Vivi
2014-06-30 16:53 ` [PATCH 10/10] drm/i915: Enable semaphores on BDW Rodrigo Vivi
2014-07-01  0:14   ` Ben Widawsky
2014-07-07 20:26     ` Daniel Vetter
  -- strict thread matches above, loose matches on Subject: below --
2014-05-07 17:26 [PATCH 00/10] Semaphores again. Needs shepherd Ben Widawsky
2014-05-07 17:27 ` [PATCH 07/10] drm/i915/bdw: collect semaphore error state Ben Widawsky

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=20140714100422.GA25136@strange.icx.intel.com \
    --to=damien.lespiau@intel.com \
    --cc=ben@bwidawsk.net \
    --cc=intel-gfx@lists.freedesktop.org \
    --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