xe_oa: exec_queue unusable after closing OA stream
Mesa is reporting the following: if OA metrics are collected for an exec_queue, after the OA stream is closed, future batch buffers submitted on the exec_queue do not complete. KMD sees this hang and resets the GPU. This is being seen on Xe2+ platforms. The hangs are not seen if OA stream is not closed.
Cc: @zehortigoza, @fjdegroo, @aswarup
Edited by Ashutosh Dixit