diff options
| author | Jeff McGee <jeff.mcgee@intel.com> | 2014-01-31 10:13:51 -0600 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-02-06 07:47:23 +0100 |
| commit | 22dfb0988aa5f055fb96873d037825bb0317a0e0 (patch) | |
| tree | 226afab212b8fbef3a121ca43928f45aaff3fd02 /tests | |
| parent | 2d16e0aad7a31a0964ae35fa07c70f4c2fb513b0 (diff) | |
pm_rps: Load helper should stall for last write
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>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pm_rps.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pm_rps.c b/tests/pm_rps.c index a6807d27..9277196f 100644 --- 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); } } |
