mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-24 18:35:58 +00:00
tests/gem_reset_stats: document the new subtest a bit better
I wanted to add this to Mika's original patch but forgot to git add. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
5f40b23cfa
commit
509850bf48
@ -660,9 +660,14 @@ static void test_close_pending_fork(void)
|
||||
*/
|
||||
pid = fork();
|
||||
if (pid == 0) {
|
||||
/* Not first drm_open_any() so we need to do
|
||||
/*
|
||||
* Not first drm_open_any() so we need to do
|
||||
* gem_quiescent_gpu() explicitly, as it is the
|
||||
* key component to trigger the oops
|
||||
*
|
||||
* The crucial component is that we schedule the same noop batch
|
||||
* on each ring. If gem_quiescent_gpu ever changes that we need
|
||||
* to update this testcase.
|
||||
*/
|
||||
const int fd2 = drm_open_any();
|
||||
igt_assert(fd2 >= 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user