Context Switch Monitoring functionality

Choi Wonseok wonseok9911 at gmail.com
Fri May 24 09:32:25 UTC 2024


Hello. I am graduate student at Korea University studying Intel GPU.

The functionality I need is to find out the 'context identifier' that was
just switched-out when a (or specific) context is switched-in to an engine
(Render Engine etc.).
I'd like to implement such functionality, especially with 'Context
Submission via GuC' enabled. (and I understand that in Proxy Submission
through GuC, guc_id is used as a context identifier instead of Context ID)

Is it possible to monitor context in/out in this way (through kernel
modification + H2G/G2H communication etc.) and, if possible, Could you
provide direction/insight on what elements should be used to implement this?

I'm sorry for asking such a bothersome question. I would really appreciate
it if you could reply.



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
24.
05. 24. 오후 06:32:21
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20240524/b4fc6adb/attachment-0001.htm>


More information about the Intel-gfx mailing list