mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
lib: Flush BSD2 as well when available
When flushing work and idling the GPU, we need to flush all engines, including the forgotten BSD2. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
2d2b61e160
commit
310f99ceb8
@ -183,6 +183,11 @@ void gem_quiescent_gpu(int fd)
|
|||||||
gem_execbuf(fd, &execbuf);
|
gem_execbuf(fd, &execbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gem_has_bsd2(fd)) {
|
||||||
|
execbuf.flags = I915_EXEC_BSD | (2 << 13);
|
||||||
|
gem_execbuf(fd, &execbuf);
|
||||||
|
}
|
||||||
|
|
||||||
if (gem_has_vebox(fd)) {
|
if (gem_has_vebox(fd)) {
|
||||||
execbuf.flags = LOCAL_I915_EXEC_VEBOX;
|
execbuf.flags = LOCAL_I915_EXEC_VEBOX;
|
||||||
gem_execbuf(fd, &execbuf);
|
gem_execbuf(fd, &execbuf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user