diff options
| author | Chris Wilson <[email protected]> | 2017-11-30 09:42:31 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-12-01 10:43:04 +0000 |
| commit | b37aef5f1b5a4788eca662de6cb33e1521a7e404 (patch) | |
| tree | 6c8722557b54dc9fe49d4122329f8d033fd27d18 /tools/perf/scripts/python | |
| parent | b5e0a9418e09a7b6df1728a26832c7c34aa1adf8 (diff) | |
drm/i915/selftests: Wake the device before executing requests on the GPU
To execute a requests requires us to have first woken the device, using
the rpm wakeref (as the request needs to write to hardware to setup the
context/ppGTT and execute on the GPU). So call intel_runtime_pm_get()
around queuing the request; the request itself will then carry a wakeref
until completion.
References: https://bugs.freedesktop.org/show_bug.cgi?id=103994
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions