All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/i915: Wait for pending flips in intel_pipe_set_base()
Date: Fri, 02 Nov 2012 17:34:19 +0000	[thread overview]
Message-ID: <b94cdc$76malg@fmsmga001.fm.intel.com> (raw)
In-Reply-To: <20121102172637.GV3791@intel.com>

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

On Fri, 2 Nov 2012 19:26:37 +0200, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> But now I started to wonder a bit about the performance implications
> of keeping struct_mutex locked for that long...

Unless you are worrying about doing a modeset for every vblank, don't.
We treat modesetting as a rare, stop-the-world event for the time being,
with the emphasis upon making the darn thing reliable. Long term goal
would be to decouple the locks so that we could have indepedent users
on a multi-head device, but for now we can assume that our sole user is
so distracted by the screen going blank to not worry about his
background folding@home task stalling for ~100 ms...

On the other hand, with output slaves it is likely that a render stall
will become more noticeable even for a single user.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2012-11-02 17:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01 18:05 [PATCH 0/3] drm/i915: i915_gem_execbuffer_wait_for_flips and other flip stuff ville.syrjala
2012-11-01 18:06 ` [PATCH 1/3] drm/i915: Wait for pending flips in intel_pipe_set_base() ville.syrjala
2012-11-02 13:26   ` Chris Wilson
2012-11-02 14:02     ` Ville Syrjälä
2012-11-02 14:28       ` Chris Wilson
2012-11-02 15:25   ` Chris Wilson
2012-11-02 17:26     ` Ville Syrjälä
2012-11-02 17:34       ` Chris Wilson [this message]
2012-11-01 18:06 ` [PATCH 2/3] drm/i915: Wake up pending flip waiters when the GPU hangs ville.syrjala
2012-11-02 13:27   ` Chris Wilson
2012-11-01 18:06 ` [PATCH 3a/3] drm/i915: Avoid i915_gem_execbuffer_wait_for_flips() on SNB+ ville.syrjala
2012-11-01 18:06 ` [PATCH v2 3b/3] drm/i915: Kill i915_gem_execbuffer_wait_for_flips() ville.syrjala
2012-11-02 13:29   ` Chris Wilson
2012-11-02 18:09     ` Jesse Barnes
2012-11-02 18:24     ` Kristian Høgsberg
2012-11-02 18:44       ` Chris Wilson

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='b94cdc$76malg@fmsmga001.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.