mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 17:38:56 +07:00
7fc92e96c3
For ease of use (i.e. avoiding a few checks and function calls), store the object's cache coherency next to the cache is dirty bit. Specifically this patch aims to reduce the frequency of no-op calls to i915_gem_object_clflush() to counter-act the increase of such calls for GPU only objects in the previous patch. v2: Replace cache_dirty & ~cache_coherent with cache_dirty && !cache_coherent as gcc generates much better code for the latter (Tvrtko) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Dongwon Kim <dongwon.kim@intel.com> Cc: Matt Roper <matthew.d.roper@intel.com> Tested-by: Dongwon Kim <dongwon.kim@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170616105455.16977-1-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> |
||
---|---|---|
.. | ||
huge_gem_object.c | ||
huge_gem_object.h | ||
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 | ||
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 |