mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 02:18:18 +07:00
e9362e1336
Instead of relying on the workqueue, the upcoming reworked GuC submission flow will offer the host driver indipendent control over the execution status of each context submitted to GuC. As part of this, the doorbell usage model has been reworked, with each doorbell being paired to a single lrc and a doorbell ring representing new work available for that specific context. This mechanism, however, limits the number of contexts that can be registered with GuC to the number of doorbells, which is an undesired limitation. To avoid this limitation, we requested the GuC team to also provide a H2G that will allow the host to notify the GuC of work available for a specified lrc, so we can use that mechanism instead of relying on the doorbells. We can therefore drop the doorbell code we currently have, also given the fact that in the unlikely case we'd want to switch back to using doorbells we'd have to heavily rework it. The workqueue will still have a use in the new interface to pass special commands, so that code has been retained for now. With the doorbells gone and the GuC client becoming even simpler, the existing GuC selftests don't give us any meaningful coverage so we can remove them as well. Some selftests might come with the new code, but they will look different from what we have now so if doesn't seem worth it to keep the file around in the meantime. v2: fix comments and commit message (John) Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: John Harrison <John.C.Harrison@Intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191205220243.27403-3-daniele.ceraolospurio@intel.com |
||
---|---|---|
.. | ||
i915_active.c | ||
i915_buddy.c | ||
i915_gem_evict.c | ||
i915_gem_gtt.c | ||
i915_gem.c | ||
i915_live_selftests.h | ||
i915_mock_selftests.h | ||
i915_perf_selftests.h | ||
i915_perf.c | ||
i915_random.c | ||
i915_random.h | ||
i915_request.c | ||
i915_selftest.c | ||
i915_sw_fence.c | ||
i915_syncmap.c | ||
i915_vma.c | ||
igt_atomic.h | ||
igt_flush_test.c | ||
igt_flush_test.h | ||
igt_live_test.c | ||
igt_live_test.h | ||
igt_mmap.c | ||
igt_mmap.h | ||
igt_reset.c | ||
igt_reset.h | ||
igt_spinner.c | ||
igt_spinner.h | ||
intel_memory_region.c | ||
intel_uncore.c | ||
lib_sw_fence.c | ||
lib_sw_fence.h | ||
mock_drm.h | ||
mock_gem_device.c | ||
mock_gem_device.h | ||
mock_gtt.c | ||
mock_gtt.h | ||
mock_region.c | ||
mock_region.h | ||
mock_request.c | ||
mock_request.h | ||
mock_uncore.c | ||
mock_uncore.h | ||
scatterlist.c |