Home | History | Annotate | Download | only in ilo

Lines Matching refs:tile

411     * X-major tile has 8 rows and 32 OWord columns (512 bytes).  Tiles in the
413 * tile number can thus be calculated as follows:
415 * tile = (mem_y / 8) * tiles_per_row + (mem_x / 512)
417 * OWords in that tile are also numbered in row-major order, starting from
424 * offset = tile * 4096 + oword * 16 + (mem_x % 16)
425 * = tile * 4096 + (mem_y % 8) * 512 + (mem_x % 512)
427 unsigned tile, offset;
429 tile = (mem_y >> 3) * tiles_per_row + (mem_x >> 9);
430 offset = tile << 12 | (mem_y & 0x7) << 9 | (mem_x & 0x1ff);
441 * Y-major tile has 32 rows and 8 OWord columns (128 bytes). Tiles in the
443 * tile number can thus be calculated as follows:
445 * tile = (mem_y / 32) * tiles_per_row + (mem_x / 128)
447 * OWords in that tile are numbered in column-major order, starting from
454 * offset = tile * 4096 + oword * 16 + (mem_x % 16)
456 unsigned tile, oword, offset;
458 tile = (mem_y >> 5) * tiles_per_row + (mem_x >> 7);
460 offset = tile << 12 | oword << 4 | (mem_x & 0xf);
471 * W-major tile has 8 8x8-block rows and 8 8x8-block columns. Tiles in the
473 * tile number can thus be calculated as follows:
475 * tile = (mem_y / 64) * tiles_per_row + (mem_x / 64)
477 * 8x8-blocks in that tile are numbered in column-major order, starting
492 * offset = tile * 4096 + blk8 * 64 + blk4 * 16 + blk2 * 4 + blk1
494 unsigned tile, blk8, blk4, blk2, blk1, offset;
496 tile = (mem_y >> 6) * tiles_per_row + (mem_x >> 6);
501 offset = tile << 12 | blk8 << 6 | blk4 << 4 | blk2 << 2 | blk1;