summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gem_fence.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-08-18 17:16:44 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-08-18 22:36:43 +0100
commitd243ad820295d1c499f9256f8ef04d1d36e74e34 (patch)
treead2643e4938e4da8f34323e844d3673adc32f0ca /drivers/gpu/drm/i915/i915_gem_fence.c
parentb19482d7ce505776af783dd75b07e77f2bf3bd89 (diff)
downloadlwn-d243ad820295d1c499f9256f8ef04d1d36e74e34.tar.gz
lwn-d243ad820295d1c499f9256f8ef04d1d36e74e34.zip
drm/i915: Mark up the GTT flush following WC writes as ORIGIN_CPU
Similarly to invalidating beforehand, if the object is mmapped via I915_MMAP_WC we cannot track writes through the I915_GEM_DOMAIN_GTT. At the conclusion of the write, i915_gem_object_flush_gtt_writes() we also need to treat the origin carefully in case it may have been untracked. See also commit aeecc9696aa0 ("drm/i915: use ORIGIN_CPU for frontbuffer invalidation on WC mmaps"). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20160818161718.27187-5-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_fence.c')
0 files changed, 0 insertions, 0 deletions