All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Track calls to intel(_logical)_ring_{begin, advance}
@ 2014-12-10 15:07 Dave Gordon
  2014-12-10 15:07 ` [PATCH 1/2] drm/i915: Track & check " Dave Gordon
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Dave Gordon @ 2014-12-10 15:07 UTC (permalink / raw)
  To: intel-gfx

When adding instructions to a legacy or LRC ringbuffer, the sequence of
emit() calls must be preceded by a call to intel(_logical)_ring_begin()
to reserve the required amount of space, and followed by a matching call
to intel(_logical)_ring_advance().  Historically some (display) code
didn't use begin/advance, but just inserted instructions ad hoc, which
would then be sent to the hardware along with the current or next batch,
but this is not supported and is now regarded as incorrect.

This commit therefore adds begin/advance tracking, with WARNings where
various forms of misuse are detected.

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

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

end of thread, other threads:[~2014-12-11  0:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10 15:07 [PATCH 0/2] Track calls to intel(_logical)_ring_{begin, advance} Dave Gordon
2014-12-10 15:07 ` [PATCH 1/2] drm/i915: Track & check " Dave Gordon
2014-12-10 15:44   ` Daniel Vetter
2014-12-10 15:07 ` [PATCH 2/2] drm/i915: Track nested " Dave Gordon
2014-12-10 22:46   ` shuang.he
2014-12-10 16:12 ` [PATCH v2 0/2] Track " Dave Gordon
2014-12-10 16:12   ` [PATCH v2 1/2] drm/i915: Track & check " Dave Gordon
2014-12-10 16:12   ` [PATCH v2 2/2] drm/i915: Track nested " Dave Gordon
2014-12-11  0:30     ` shuang.he
2014-12-10 16:23 ` [PATCH 0/2] Track " Chris Wilson

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.