summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorDaniel Vetter2012-02-15 23:50:23 +0100
committerDaniel Vetter2012-03-20 21:53:55 +0100
commit149c84077fe717af883bae459623ef1cebd86388 (patch)
treeef4072bc138e95a5411509dbb3538ba2de3e6840 /drivers/gpu/drm/i915/i915_gem.c
parentdrm/i915: bind objects to the global gtt only when needed (diff)
downloadkernel-qcow2-linux-149c84077fe717af883bae459623ef1cebd86388.tar.gz
kernel-qcow2-linux-149c84077fe717af883bae459623ef1cebd86388.tar.xz
kernel-qcow2-linux-149c84077fe717af883bae459623ef1cebd86388.zip
drm/i915: implement SNB workaround for lazy global gtt
PIPE_CONTROL on snb needs global gtt mappings in place to workaround a hw gotcha. No other commands need such a workaround. Luckily we can detect a PIPE_CONTROL commands easily because they have a write_domain = I915_GEM_DOMAIN_INSTRUCTION (and nothing else has that). v2: Binding the target of such a reloc into the global gtt actually works instead of binding the source, which is rather pointless ... v3: Kill a superflous has_global_gtt_mapping assignement noticed by Chris Wilson. Reviewed-and-tested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
0 files changed, 0 insertions, 0 deletions