summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-11 16:21:13 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-11 16:21:13 +0100
commit31467b01e3f5ece0c8f8d4c03b52fc3f238b3d7e (patch)
tree68f7845f797068fb21025c1f8beed460be3bba86 /src
parent0dfe7d93de893b3ead6c3be662b3a17d9335c2ca (diff)
sna/gen6+: Overlapping bo by definition have compatible depths
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/gen6_render.c1
-rw-r--r--src/sna/gen7_render.c1
-rw-r--r--src/sna/gen8_render.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c
index a7ed2ea0..8668d124 100644
--- a/src/sna/gen6_render.c
+++ b/src/sna/gen6_render.c
@@ -2729,7 +2729,6 @@ fallback_blt:
goto fallback_blt;
if (can_switch_to_blt(sna, dst_bo, flags) &&
- sna_blt_compare_depth(&src->drawable, &dst->drawable) &&
sna_blt_copy_boxes(sna, alu,
src_bo, src_dx, src_dy,
dst_bo, dst_dx, dst_dy,
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 68b2d354..3fcca3e5 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -2966,7 +2966,6 @@ fallback_blt:
goto fallback_blt;
if (can_switch_to_blt(sna, dst_bo, flags) &&
- sna_blt_compare_depth(&src->drawable, &dst->drawable) &&
sna_blt_copy_boxes(sna, alu,
src_bo, src_dx, src_dy,
dst_bo, dst_dx, dst_dy,
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c
index 0cbfff9f..54a67b10 100644
--- a/src/sna/gen8_render.c
+++ b/src/sna/gen8_render.c
@@ -2776,7 +2776,6 @@ fallback_blt:
goto fallback_blt;
if (can_switch_to_blt(sna, dst_bo, flags) &&
- sna_blt_compare_depth(&src->drawable, &dst->drawable) &&
sna_blt_copy_boxes(sna, alu,
src_bo, src_dx, src_dy,
dst_bo, dst_dx, dst_dy,