public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* About dealing with CSB.context element switch in execlist mode.
@ 2015-11-24 13:33 Wang, Zhi A
  2015-11-25 12:47 ` Michel Thierry
  0 siblings, 1 reply; 7+ messages in thread
From: Wang, Zhi A @ 2015-11-24 13:33 UTC (permalink / raw)
  To: intel-gfx@lists.freedesktop.org; +Cc: Han, Xu, Li, Weinan Z, He, Min


[-- Attachment #1.1: Type: text/plain, Size: 799 bytes --]

Hi Gurus:
I'm wondering what's the right approach to deal with the context switch reason: element_switch? According to b-spec, one ELSP submission may include two elements, when one element is finished, HW will move to process next element, the previous context will be scheduled out with a "element_switch" context switch reason.

I saw that i915 would try to start a new ELSP write which may contain two new elements when it found a "element_switch" CSB in the context switch handler. I'm a bit confused here, as HW may be still running a context at this time, I'm not sure if two new elements can be submitted at this time. So I think maybe my understanding about this context switch reason might be wrong.

Anyone can educate me how to deal with the "element_switch" CSB?

Thanks,
Zhi.

[-- Attachment #1.2: Type: text/html, Size: 22326 bytes --]

[-- 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

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

end of thread, other threads:[~2015-11-26 16:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-24 13:33 About dealing with CSB.context element switch in execlist mode Wang, Zhi A
2015-11-25 12:47 ` Michel Thierry
2015-11-25 12:51   ` Wang, Zhi A
2015-11-25 13:00   ` Wang, Zhi A
2015-11-25 13:14     ` Michel Thierry
2015-11-25 13:17       ` Wang, Zhi A
2015-11-26 16:47         ` Dave Gordon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox