diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-15 23:50:23 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-03-20 21:53:55 +0100 |
commit | 149c84077fe717af883bae459623ef1cebd86388 (patch) | |
tree | ef4072bc138e95a5411509dbb3538ba2de3e6840 /net/core/dst.c | |
parent | 74898d7edc701bdae3cbd099d783dfb80b42350f (diff) | |
download | linux-149c84077fe717af883bae459623ef1cebd86388.tar.gz |
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 'net/core/dst.c')
0 files changed, 0 insertions, 0 deletions