projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d16e0a
)
pm_rps: Load helper should stall for last write
author
Jeff McGee
<jeff.mcgee@intel.com>
Fri, 31 Jan 2014 16:13:51 +0000
(10:13 -0600)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 6 Feb 2014 06:47:23 +0000
(07:47 +0100)
This ensures that gpu is quiescent when load helper exits.
Signed-off-by: Jeff McGee <jeff.mcgee@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_rps.c
patch
|
blob
|
history
diff --git
a/tests/pm_rps.c
b/tests/pm_rps.c
index
a6807d2
..
9277196
100644
(file)
--- a/
tests/pm_rps.c
+++ b/
tests/pm_rps.c
@@
-207,6
+207,10
@@
static void load_helper_run(void)
val++;
}
+ /* Map buffer to stall for write completion */
+ drm_intel_bo_map(lh.target_buffer, 0);
+ drm_intel_bo_unmap(lh.target_buffer);
+
log("load helper sent %u dword writes\n", val);
}
}