linux-stable/drivers/gpu/drm/i915/selftests
Daniele Ceraolo Spurio 48b426a9b9 drm/i915/guc: init GuC descriptors after GuC load
GuC stores some data in there, which might be stale after a reset.
We already reset the WQ head and tail, but more things are being moved
to the descriptor with the interface updates. Instead of trying to track
them one by one, always memset and init the descriptors from scratch
after GuC is loaded.
The code is also reorganized so that the above operations and the
doorbell creation are grouped as "client enabling"

v2: add proc_desc_fini for symmetry (Daniele), remove unneeded var init,
add guc_is_alive() (Michal)

Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20181002215430.15049-1-daniele.ceraolospurio@intel.com
2018-10-04 07:29:47 +01:00
..
huge_gem_object.c
huge_gem_object.h
huge_pages.c drm/i915: Remove i915.enable_ppgtt override 2018-09-27 12:05:31 +01:00
i915_gem.c drm/i915/selftests: Add a simple exerciser for suspend/hibernate 2018-08-31 10:21:00 +01:00
i915_gem_coherency.c drm/i915/selftests: Live tests emit requests and so require rpm 2018-09-20 17:01:26 +01:00
i915_gem_context.c drm/i915: Remove i915.enable_ppgtt override 2018-09-27 12:05:31 +01:00
i915_gem_dmabuf.c
i915_gem_evict.c drm/i915: Remove i915.enable_ppgtt override 2018-09-27 12:05:31 +01:00
i915_gem_gtt.c drm/i915: Remove i915.enable_ppgtt override 2018-09-27 12:05:31 +01:00
i915_gem_object.c drm/i915/selftests: Hold rpm for unparking 2018-08-15 13:41:08 -07:00
i915_live_selftests.h drm/i915/selftests: Add a simple exerciser for suspend/hibernate 2018-08-31 10:21:00 +01:00
i915_mock_selftests.h
i915_random.c
i915_random.h
i915_request.c drm/i915/selftests: Live tests emit requests and so require rpm 2018-09-20 17:01:26 +01:00
i915_selftest.c drm/i915/selftests: Include the start of each subtest in the GEM trace 2018-07-13 22:30:56 +01:00
i915_sw_fence.c drm/i915: Remove unecessary dma_fence_ops 2018-08-17 11:22:15 +02:00
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 drm/i915/guc: init GuC descriptors after GuC load 2018-10-04 07:29:47 +01:00
intel_hangcheck.c drm/i915: Replace some open-coded i915_coherent_map_type() 2018-10-02 12:53:44 +01:00
intel_lrc.c drm/i915/selftests: Hold task_struct ref for smoking kthread 2018-10-03 09:07:23 +01:00
intel_uncore.c drm/i915: Restore user forcewake domains across suspend 2018-08-15 13:41:05 -07:00
intel_workarounds.c drm/i915/selftests: Live tests emit requests and so require rpm 2018-09-20 17:01:26 +01:00
lib_sw_fence.c
lib_sw_fence.h
mock_context.c drm/i915: Reduce context HW ID lifetime 2018-09-05 11:58:08 +01:00
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 drm/i915: Explicitly mark Global GTT address spaces 2018-09-01 10:25:38 +01:00
mock_gtt.h
mock_request.c
mock_request.h
mock_timeline.c
mock_timeline.h
mock_uncore.c
mock_uncore.h
scatterlist.c