All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/i915: Page flip stuff
@ 2012-10-31 17:38 ville.syrjala
  2012-10-31 17:38 ` [PATCH 1/2] drm/i915: Kill i915_gem_execbuffer_wait_for_flips() ville.syrjala
  2012-10-31 17:38 ` [PATCH 2/2] drm/i915: Wait for pending flips in intel_pipe_set_base() ville.syrjala
  0 siblings, 2 replies; 8+ messages in thread
From: ville.syrjala @ 2012-10-31 17:38 UTC (permalink / raw)
  To: intel-gfx

This is my quick attempt at aliminating i915_gem_execbuffer_wait_for_flips().

While doing that I noticed that intel_pipe_set_base() never actually waited
for pending flips, while it probably should.

I also spotted another possible problem, for which I didn't provide a patch.
We wait on the pending_flip_queue based on two different variables. One is
the unpin_work, which indicates pending flips, and the other is mm.wedged,
which seems to indicate that the GPU is stuck. I noticed that we don't seem
to call wake_up(pending_flip_queue) after clearing mm.wedged. Is that a bug,
or did I just miss something?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-01  8:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31 17:38 [PATCH 0/2] drm/i915: Page flip stuff ville.syrjala
2012-10-31 17:38 ` [PATCH 1/2] drm/i915: Kill i915_gem_execbuffer_wait_for_flips() ville.syrjala
2012-10-31 19:17   ` Ville Syrjälä
2012-11-01  0:18   ` Eric Anholt
2012-11-01  8:58     ` Chris Wilson
2012-10-31 17:38 ` [PATCH 2/2] drm/i915: Wait for pending flips in intel_pipe_set_base() ville.syrjala
2012-10-31 17:43   ` Chris Wilson
2012-10-31 18:17     ` Ville Syrjälä

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.