All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Two patches relating to ring initialization failure
@ 2012-03-16 16:43 Sean Paul
  2012-03-16 16:43 ` [PATCH 1/2] drm/i915: Add BUG_ON when ring->private is NULL Sean Paul
  2012-03-16 16:43 ` [PATCH 2/2] drm/i915: Add wait_for in init_ring_common Sean Paul
  0 siblings, 2 replies; 7+ messages in thread
From: Sean Paul @ 2012-03-16 16:43 UTC (permalink / raw)
  To: intel-gfx

These two patches fix/mitigate an issue I was seeing during suspend/resume. I
would see a "blt ring initialization failed" error in the logs, followed by a
NULL dereference in gen6_render_ring_flush shortly after. The first patch adds
a BUG_ON to catch the NULL, and a bread crumb. The second patch fixes the init
error by waiting for a little bit before failing the read (I found the register
values were correct after waiting a bit).

Sean Paul (2):
  drm/i915: Add BUG_ON when ring->private is NULL
  drm/i915: Add wait_for in init_ring_common

 drivers/gpu/drm/i915/intel_ringbuffer.c |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

-- 
1.7.7.3

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

end of thread, other threads:[~2012-03-18 20:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 16:43 [PATCH 0/2] Two patches relating to ring initialization failure Sean Paul
2012-03-16 16:43 ` [PATCH 1/2] drm/i915: Add BUG_ON when ring->private is NULL Sean Paul
2012-03-18 18:09   ` Daniel Vetter
2012-03-18 20:33     ` Sean Paul
2012-03-16 16:43 ` [PATCH 2/2] drm/i915: Add wait_for in init_ring_common Sean Paul
2012-03-16 18:34   ` Ben Widawsky
2012-03-18 17:53   ` Daniel Vetter

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.