diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-31 14:06:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-31 15:55:28 +0000 |
commit | e4f6ba6b47c41645a40e314f14047ba0b5f93a01 (patch) | |
tree | 12215915b8194a57ec5dfea397437f10d1c6a1f7 /src/sna/gen7_render.c | |
parent | 6e87e7ddfe0c21e0fb6b3c2cb940a40aa7d4e061 (diff) |
sna/gen6+: Hint that we prefer to use the BLT with uncached scanouts
Once again balancing the trade-off of faster smaller copies with the BLT
versus the faster larger copies the RENDER ring.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen7_render.c')
-rw-r--r-- | src/sna/gen7_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c index edab5dbc..173a558d 100644 --- a/src/sna/gen7_render.c +++ b/src/sna/gen7_render.c @@ -2098,7 +2098,7 @@ static int prefer_blt_bo(struct sna *sna, struct kgem_bo *bo) if (bo->rq) return RQ_IS_BLT(bo->rq) ? 1 : -1; - return bo->tiling == I915_TILING_NONE; + return bo->tiling == I915_TILING_NONE || bo->scanout; } inline static bool prefer_blt_ring(struct sna *sna, |