diff options
author | Anuj Phogat <[email protected]> | 2015-02-17 10:40:58 -0800 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2015-02-25 14:11:32 -0800 |
commit | 524a729f68c15da3fc6c42b3158a13e0b84c2728 (patch) | |
tree | 1473138b39a7227c1b861ebca3085b2c2d573a2f /src | |
parent | 688309374d6e2ec8af10907e36f30f0028f16d55 (diff) |
i965: Fix condition to use Y tiling in blitter in intel_miptree_create()
Y tiling is supported in blitter on SNB+.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Neil Roberts <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index e085841b48d..66e7c639ef7 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -649,10 +649,10 @@ intel_miptree_create(struct brw_context *brw, mt->pitch = pitch; /* If the BO is too large to fit in the aperture, we need to use the - * BLT engine to support it. The BLT paths can't currently handle Y-tiling, - * so we need to fall back to X. + * BLT engine to support it. Prior to Sandybridge, the BLT paths can't + * handle Y-tiling, so we need to fall back to X. */ - if (y_or_x && mt->bo->size >= brw->max_gtt_map_object_size) { + if (brw->gen < 6 && y_or_x && mt->bo->size >= brw->max_gtt_map_object_size) { perf_debug("%dx%d miptree larger than aperture; falling back to X-tiled\n", mt->total_width, mt->total_height); |