summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_evict.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-08-18 17:17:04 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-08-18 22:36:55 +0100
commit50349247ea807ad0950bbcedb1abb576e6a785db (patch)
treeadd2f5d095648ccf31d81b2b4e1a21d55e4307cc /drivers/gpu/drm/i915/i915_gem_evict.c
parentaa136d9d72c2f9c4925ff86eebc86748fa069beb (diff)
downloadop-kernel-dev-50349247ea807ad0950bbcedb1abb576e6a785db.zip
op-kernel-dev-50349247ea807ad0950bbcedb1abb576e6a785db.tar.gz
drm/i915: Drop ORIGIN_GTT for untracked GTT writes
If FBC is set on a framebuffer that is unmapped, all GTT faults will be from a partial mapping. Writes by the user through the partial VMA are then untracked by the FBC and so we must use the ORIGIN_CPU when flushing the I915_GEM_DOMAIN_GTT. v2: Keep ORIGIN_CPU for set-to-domain(.write=CPU) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Daniel Vetter <daniel.vetter@intel.com> Cc: "Zanoni, Paulo R" <paulo.r.zanoni@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20160818161718.27187-25-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_evict.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud