mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 15:46:42 +07:00
24fd018aae
We don't actually emit any commands into the ringbuffer, so we set it very small. However, an upcoming change centralises the wait-for-space into i915_gem_request_alloc() and that imposes a minimum size upon all ringbuffers (mock or real) of MIN_SPACE_FOR_ADD_REQUEST. Grow the mock ringbuffer such that we allocate a single page for the struct+buffer, satisfying the new condition without wasting too much space. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171115151204.8105-1-chris@chris-wilson.co.uk |
||
---|---|---|
.. | ||
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 | ||
i915_gem_request.c | ||
i915_gem_timeline.c | ||
i915_live_selftests.h | ||
i915_mock_selftests.h | ||
i915_random.c | ||
i915_random.h | ||
i915_selftest.c | ||
i915_sw_fence.c | ||
i915_syncmap.c | ||
i915_vma.c | ||
intel_breadcrumbs.c | ||
intel_hangcheck.c | ||
intel_uncore.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 |