Lines Matching full:tile

31 		  u32 flags, struct nvkm_fb_tile *tile)  in nv20_fb_tile_init()  argument
33 tile->addr = 0x00000001 | addr; in nv20_fb_tile_init()
34 tile->limit = max(1u, addr + size) - 1; in nv20_fb_tile_init()
35 tile->pitch = pitch; in nv20_fb_tile_init()
37 fb->func->tile.comp(fb, i, size, flags, tile); in nv20_fb_tile_init()
38 tile->addr |= 2; in nv20_fb_tile_init()
44 struct nvkm_fb_tile *tile) in nv20_fb_tile_comp() argument
48 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { in nv20_fb_tile_comp()
49 if (!(flags & 2)) tile->zcomp = 0x00000000; /* Z16 */ in nv20_fb_tile_comp()
50 else tile->zcomp = 0x04000000; /* Z24S8 */ in nv20_fb_tile_comp()
51 tile->zcomp |= tile->tag->offset; in nv20_fb_tile_comp()
52 tile->zcomp |= 0x80000000; /* enable */ in nv20_fb_tile_comp()
54 tile->zcomp |= 0x08000000; in nv20_fb_tile_comp()
60 nv20_fb_tile_fini(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv20_fb_tile_fini() argument
62 tile->addr = 0; in nv20_fb_tile_fini()
63 tile->limit = 0; in nv20_fb_tile_fini()
64 tile->pitch = 0; in nv20_fb_tile_fini()
65 tile->zcomp = 0; in nv20_fb_tile_fini()
66 nvkm_mm_free(&fb->tags.mm, &tile->tag); in nv20_fb_tile_fini()
70 nv20_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv20_fb_tile_prog() argument
73 nvkm_wr32(device, 0x100244 + (i * 0x10), tile->limit); in nv20_fb_tile_prog()
74 nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch); in nv20_fb_tile_prog()
75 nvkm_wr32(device, 0x100240 + (i * 0x10), tile->addr); in nv20_fb_tile_prog()
77 nvkm_wr32(device, 0x100300 + (i * 0x04), tile->zcomp); in nv20_fb_tile_prog()
90 .tile.regions = 8,
91 .tile.init = nv20_fb_tile_init,
92 .tile.comp = nv20_fb_tile_comp,
93 .tile.fini = nv20_fb_tile_fini,
94 .tile.prog = nv20_fb_tile_prog,