[Mesa-dev] [PATCH 3/3] intel: Add support copying Y-tiled buffers with the Gen6 blitter.

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 30 01:39:40 PDT 2011


On Wed, 29 Jun 2011 23:04:04 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> According to the Sandybridge PRM, Volume 1, Part 5, Section 1.9.15,
> Gen6's blitter supports Y-tiled buffers as well as X-tiled.  Pitch is
> specified in 512-byte granularity for X-tiled, but 128-byte for Y-tiled.

To support Y-tiling, afaics, in the SNB blitter, you have to set a register
that forces it to treat all source and/or destination surface as y-tiled:

  BCS_SWCTRL 0x22200

Fortunately they did permit use to modify it with MI_LOAD_REGISTER_IMM.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the mesa-dev mailing list