diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-08-09 09:34:49 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-08-15 23:41:08 +0300 |
commit | 3012ea60c57dbdf21206c7e787d6d0cde76a18a7 (patch) | |
tree | 53b897712e4f4231ddc8c3c21cf914f47c73ddbf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3af71f649d22f359790b4032446456a967a81742 (diff) | |
download | linux-3012ea60c57dbdf21206c7e787d6d0cde76a18a7.tar.xz |
drm/i915/selftests: Hold rpm for unparking
The call to i915_gem_unpark() checks that we hold a rpm wakeref before
taking a long term wakeref for i915->gt.awake. We should therefore make
sure we do hold the wakeref when directly calling unpark to disable
the retire worker.
Fixes: 932cac10c8fb ("drm/i915/selftests: Prevent background reaping of active objects")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180809063449.4474-1-chris@chris-wilson.co.uk
(cherry picked from commit 7b5ee80a5da3ea44c5abff48e3621135ae9d8177)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions