linux_dsm_epyc7002/drivers/gpu/drm/i915/selftests
Chris Wilson 3012ea60c5 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: 932cac10c8 ("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 7b5ee80a5d)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2018-08-15 13:41:08 -07:00
..
huge_gem_object.c
huge_gem_object.h
huge_pages.c
i915_gem_coherency.c
i915_gem_context.c
i915_gem_dmabuf.c
i915_gem_evict.c
i915_gem_gtt.c
i915_gem_object.c drm/i915/selftests: Hold rpm for unparking 2018-08-15 13:41:08 -07:00
i915_live_selftests.h
i915_mock_selftests.h
i915_random.c
i915_random.h
i915_request.c
i915_selftest.c
i915_sw_fence.c
i915_syncmap.c
i915_timeline.c
i915_vma.c
igt_flush_test.c
igt_flush_test.h
igt_wedge_me.h
intel_breadcrumbs.c
intel_engine_cs.c
intel_guc.c
intel_hangcheck.c
intel_lrc.c
intel_uncore.c
intel_workarounds.c
lib_sw_fence.c
lib_sw_fence.h
mock_context.c
mock_context.h
mock_dmabuf.c
mock_dmabuf.h
mock_drm.c
mock_drm.h
mock_engine.c
mock_engine.h
mock_gem_device.c
mock_gem_device.h
mock_gem_object.h
mock_gtt.c
mock_gtt.h
mock_request.c
mock_request.h
mock_timeline.c
mock_timeline.h
mock_uncore.c
mock_uncore.h
scatterlist.c