Home | History | Annotate | Download | only in nvc0

Lines Matching defs:tile_mode

34    uint32_t tile_mode = 0x000;
36 if (ny > 64) tile_mode = 0x040; /* height 128 tiles */
38 if (ny > 32) tile_mode = 0x030; /* height 64 tiles */
40 if (ny > 16) tile_mode = 0x020; /* height 32 tiles */
42 if (ny > 8) tile_mode = 0x010; /* height 16 tiles */
45 return tile_mode;
47 if (tile_mode > 0x020)
48 tile_mode = 0x020;
50 if (nz > 16 && tile_mode < 0x020)
51 return tile_mode | 0x500; /* depth 32 tiles */
52 if (nz > 8) return tile_mode | 0x400; /* depth 16 tiles */
53 if (nz > 4) return tile_mode | 0x300; /* depth 8 tiles */
54 if (nz > 2) return tile_mode | 0x200; /* depth 4 tiles */
56 return tile_mode | 0x100;
201 mt->level[0].tile_mode = 0x10;
236 lvl->tile_mode = nvc0_tex_choose_tile_dims(nbx, nby, d);
238 tsx = NVC0_TILE_SIZE_X(lvl->tile_mode); /* x is tile row pitch in bytes */
239 tsy = NVC0_TILE_SIZE_Y(lvl->tile_mode);
240 tsz = NVC0_TILE_SIZE_Z(lvl->tile_mode);
253 NVC0_TILE_SIZE(mt->level[0].tile_mode));
306 bo_config.nvc0.tile_mode = mt->level[0].tile_mode;
332 unsigned tds = NVC0_TILE_SHIFT_Z(mt->level[l].tile_mode);
333 unsigned ths = NVC0_TILE_SHIFT_Y(mt->level[l].tile_mode);
339 unsigned stride_2d = NVC0_TILE_SIZE_2D(mt->level[l].tile_mode);