textures         1635 drivers/gpu/drm/radeon/r100.c 		track->textures[i].robj = reloc->robj;
textures         1651 drivers/gpu/drm/radeon/r100.c 		track->textures[0].cube_info[i].offset = idx_value;
textures         1653 drivers/gpu/drm/radeon/r100.c 		track->textures[0].cube_info[i].robj = reloc->robj;
textures         1669 drivers/gpu/drm/radeon/r100.c 		track->textures[1].cube_info[i].offset = idx_value;
textures         1671 drivers/gpu/drm/radeon/r100.c 		track->textures[1].cube_info[i].robj = reloc->robj;
textures         1687 drivers/gpu/drm/radeon/r100.c 		track->textures[2].cube_info[i].offset = idx_value;
textures         1689 drivers/gpu/drm/radeon/r100.c 		track->textures[2].cube_info[i].robj = reloc->robj;
textures         1782 drivers/gpu/drm/radeon/r100.c 				track->textures[i].enabled = !!(temp & (1 << i));
textures         1796 drivers/gpu/drm/radeon/r100.c 		track->textures[i].width = (idx_value & RADEON_TEX_USIZE_MASK) + 1;
textures         1797 drivers/gpu/drm/radeon/r100.c 		track->textures[i].height = ((idx_value & RADEON_TEX_VSIZE_MASK) >> RADEON_TEX_VSIZE_SHIFT) + 1;
textures         1804 drivers/gpu/drm/radeon/r100.c 		track->textures[i].pitch = idx_value + 32;
textures         1811 drivers/gpu/drm/radeon/r100.c 		track->textures[i].num_levels = ((idx_value & RADEON_MAX_MIP_LEVEL_MASK)
textures         1815 drivers/gpu/drm/radeon/r100.c 			track->textures[i].roundup_w = false;
textures         1818 drivers/gpu/drm/radeon/r100.c 			track->textures[i].roundup_h = false;
textures         1826 drivers/gpu/drm/radeon/r100.c 			track->textures[i].use_pitch = 1;
textures         1828 drivers/gpu/drm/radeon/r100.c 			track->textures[i].use_pitch = 0;
textures         1829 drivers/gpu/drm/radeon/r100.c 			track->textures[i].width = 1 << ((idx_value & RADEON_TXFORMAT_WIDTH_MASK) >> RADEON_TXFORMAT_WIDTH_SHIFT);
textures         1830 drivers/gpu/drm/radeon/r100.c 			track->textures[i].height = 1 << ((idx_value & RADEON_TXFORMAT_HEIGHT_MASK) >> RADEON_TXFORMAT_HEIGHT_SHIFT);
textures         1833 drivers/gpu/drm/radeon/r100.c 			track->textures[i].tex_coord_type = 2;
textures         1838 drivers/gpu/drm/radeon/r100.c 			track->textures[i].cpp = 1;
textures         1839 drivers/gpu/drm/radeon/r100.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures         1850 drivers/gpu/drm/radeon/r100.c 			track->textures[i].cpp = 2;
textures         1851 drivers/gpu/drm/radeon/r100.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures         1857 drivers/gpu/drm/radeon/r100.c 			track->textures[i].cpp = 4;
textures         1858 drivers/gpu/drm/radeon/r100.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures         1861 drivers/gpu/drm/radeon/r100.c 			track->textures[i].cpp = 1;
textures         1862 drivers/gpu/drm/radeon/r100.c 			track->textures[i].compress_format = R100_TRACK_COMP_DXT1;
textures         1866 drivers/gpu/drm/radeon/r100.c 			track->textures[i].cpp = 1;
textures         1867 drivers/gpu/drm/radeon/r100.c 			track->textures[i].compress_format = R100_TRACK_COMP_DXT35;
textures         1870 drivers/gpu/drm/radeon/r100.c 		track->textures[i].cube_info[4].width = 1 << ((idx_value >> 16) & 0xf);
textures         1871 drivers/gpu/drm/radeon/r100.c 		track->textures[i].cube_info[4].height = 1 << ((idx_value >> 20) & 0xf);
textures         1880 drivers/gpu/drm/radeon/r100.c 			track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf);
textures         1881 drivers/gpu/drm/radeon/r100.c 			track->textures[i].cube_info[face].height = 1 << ((tmp >> ((face * 8) + 4)) & 0xf);
textures         2130 drivers/gpu/drm/radeon/r100.c 	unsigned compress_format = track->textures[idx].compress_format;
textures         2133 drivers/gpu/drm/radeon/r100.c 		cube_robj = track->textures[idx].cube_info[face].robj;
textures         2134 drivers/gpu/drm/radeon/r100.c 		w = track->textures[idx].cube_info[face].width;
textures         2135 drivers/gpu/drm/radeon/r100.c 		h = track->textures[idx].cube_info[face].height;
textures         2141 drivers/gpu/drm/radeon/r100.c 		size *= track->textures[idx].cpp;
textures         2143 drivers/gpu/drm/radeon/r100.c 		size += track->textures[idx].cube_info[face].offset;
textures         2148 drivers/gpu/drm/radeon/r100.c 			r100_cs_track_texture_print(&track->textures[idx]);
textures         2164 drivers/gpu/drm/radeon/r100.c 		if (!track->textures[u].enabled)
textures         2166 drivers/gpu/drm/radeon/r100.c 		if (track->textures[u].lookup_disable)
textures         2168 drivers/gpu/drm/radeon/r100.c 		robj = track->textures[u].robj;
textures         2174 drivers/gpu/drm/radeon/r100.c 		for (i = 0; i <= track->textures[u].num_levels; i++) {
textures         2175 drivers/gpu/drm/radeon/r100.c 			if (track->textures[u].use_pitch) {
textures         2177 drivers/gpu/drm/radeon/r100.c 					w = (track->textures[u].pitch / track->textures[u].cpp) / (1 << i);
textures         2179 drivers/gpu/drm/radeon/r100.c 					w = track->textures[u].pitch / (1 << i);
textures         2181 drivers/gpu/drm/radeon/r100.c 				w = track->textures[u].width;
textures         2183 drivers/gpu/drm/radeon/r100.c 					w |= track->textures[u].width_11;
textures         2185 drivers/gpu/drm/radeon/r100.c 				if (track->textures[u].roundup_w)
textures         2188 drivers/gpu/drm/radeon/r100.c 			h = track->textures[u].height;
textures         2190 drivers/gpu/drm/radeon/r100.c 				h |= track->textures[u].height_11;
textures         2192 drivers/gpu/drm/radeon/r100.c 			if (track->textures[u].roundup_h)
textures         2194 drivers/gpu/drm/radeon/r100.c 			if (track->textures[u].tex_coord_type == 1) {
textures         2195 drivers/gpu/drm/radeon/r100.c 				d = (1 << track->textures[u].txdepth) / (1 << i);
textures         2201 drivers/gpu/drm/radeon/r100.c 			if (track->textures[u].compress_format) {
textures         2203 drivers/gpu/drm/radeon/r100.c 				size += r100_track_compress_size(track->textures[u].compress_format, w, h) * d;
textures         2208 drivers/gpu/drm/radeon/r100.c 		size *= track->textures[u].cpp;
textures         2210 drivers/gpu/drm/radeon/r100.c 		switch (track->textures[u].tex_coord_type) {
textures         2224 drivers/gpu/drm/radeon/r100.c 				  "%u\n", track->textures[u].tex_coord_type, u);
textures         2230 drivers/gpu/drm/radeon/r100.c 			r100_cs_track_texture_print(&track->textures[u]);
textures         2420 drivers/gpu/drm/radeon/r100.c 		track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures         2421 drivers/gpu/drm/radeon/r100.c 		track->textures[i].pitch = 16536;
textures         2422 drivers/gpu/drm/radeon/r100.c 		track->textures[i].width = 16536;
textures         2423 drivers/gpu/drm/radeon/r100.c 		track->textures[i].height = 16536;
textures         2424 drivers/gpu/drm/radeon/r100.c 		track->textures[i].width_11 = 1 << 11;
textures         2425 drivers/gpu/drm/radeon/r100.c 		track->textures[i].height_11 = 1 << 11;
textures         2426 drivers/gpu/drm/radeon/r100.c 		track->textures[i].num_levels = 12;
textures         2428 drivers/gpu/drm/radeon/r100.c 			track->textures[i].tex_coord_type = 0;
textures         2429 drivers/gpu/drm/radeon/r100.c 			track->textures[i].txdepth = 0;
textures         2431 drivers/gpu/drm/radeon/r100.c 			track->textures[i].txdepth = 16;
textures         2432 drivers/gpu/drm/radeon/r100.c 			track->textures[i].tex_coord_type = 1;
textures         2434 drivers/gpu/drm/radeon/r100.c 		track->textures[i].cpp = 64;
textures         2435 drivers/gpu/drm/radeon/r100.c 		track->textures[i].robj = NULL;
textures         2437 drivers/gpu/drm/radeon/r100.c 		track->textures[i].enabled = false;
textures         2438 drivers/gpu/drm/radeon/r100.c 		track->textures[i].lookup_disable = false;
textures         2439 drivers/gpu/drm/radeon/r100.c 		track->textures[i].roundup_w = true;
textures         2440 drivers/gpu/drm/radeon/r100.c 		track->textures[i].roundup_h = true;
textures         2443 drivers/gpu/drm/radeon/r100.c 				track->textures[i].cube_info[face].robj = NULL;
textures         2444 drivers/gpu/drm/radeon/r100.c 				track->textures[i].cube_info[face].width = 16536;
textures         2445 drivers/gpu/drm/radeon/r100.c 				track->textures[i].cube_info[face].height = 16536;
textures         2446 drivers/gpu/drm/radeon/r100.c 				track->textures[i].cube_info[face].offset = 0;
textures           73 drivers/gpu/drm/radeon/r100_track.h 	struct r100_cs_track_texture	textures[R300_TRACK_MAX_TEXTURE];
textures          231 drivers/gpu/drm/radeon/r200.c 		track->textures[i].robj = reloc->robj;
textures          273 drivers/gpu/drm/radeon/r200.c 		track->textures[i].cube_info[face - 1].offset = idx_value;
textures          275 drivers/gpu/drm/radeon/r200.c 		track->textures[i].cube_info[face - 1].robj = reloc->robj;
textures          374 drivers/gpu/drm/radeon/r200.c 				track->textures[i].enabled = !!(temp & (1 << i));
textures          398 drivers/gpu/drm/radeon/r200.c 		track->textures[i].width = (idx_value & RADEON_TEX_USIZE_MASK) + 1;
textures          399 drivers/gpu/drm/radeon/r200.c 		track->textures[i].height = ((idx_value & RADEON_TEX_VSIZE_MASK) >> RADEON_TEX_VSIZE_SHIFT) + 1;
textures          409 drivers/gpu/drm/radeon/r200.c 		track->textures[i].pitch = idx_value + 32;
textures          419 drivers/gpu/drm/radeon/r200.c 		track->textures[i].num_levels = ((idx_value & R200_MAX_MIP_LEVEL_MASK)
textures          423 drivers/gpu/drm/radeon/r200.c 			track->textures[i].roundup_w = false;
textures          426 drivers/gpu/drm/radeon/r200.c 			track->textures[i].roundup_h = false;
textures          444 drivers/gpu/drm/radeon/r200.c 		track->textures[i].txdepth = idx_value & 0x7;
textures          455 drivers/gpu/drm/radeon/r200.c 			track->textures[i].tex_coord_type = 0;
textures          459 drivers/gpu/drm/radeon/r200.c 			track->textures[i].tex_coord_type = 2;
textures          463 drivers/gpu/drm/radeon/r200.c 			track->textures[i].tex_coord_type = 1;
textures          476 drivers/gpu/drm/radeon/r200.c 			track->textures[i].use_pitch = 1;
textures          478 drivers/gpu/drm/radeon/r200.c 			track->textures[i].use_pitch = 0;
textures          479 drivers/gpu/drm/radeon/r200.c 			track->textures[i].width = 1 << ((idx_value & RADEON_TXFORMAT_WIDTH_MASK) >> RADEON_TXFORMAT_WIDTH_SHIFT);
textures          480 drivers/gpu/drm/radeon/r200.c 			track->textures[i].height = 1 << ((idx_value & RADEON_TXFORMAT_HEIGHT_MASK) >> RADEON_TXFORMAT_HEIGHT_SHIFT);
textures          483 drivers/gpu/drm/radeon/r200.c 			track->textures[i].lookup_disable = true;
textures          488 drivers/gpu/drm/radeon/r200.c 			track->textures[i].cpp = 1;
textures          489 drivers/gpu/drm/radeon/r200.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          500 drivers/gpu/drm/radeon/r200.c 			track->textures[i].cpp = 2;
textures          501 drivers/gpu/drm/radeon/r200.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          508 drivers/gpu/drm/radeon/r200.c 			track->textures[i].cpp = 4;
textures          509 drivers/gpu/drm/radeon/r200.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          512 drivers/gpu/drm/radeon/r200.c 			track->textures[i].cpp = 1;
textures          513 drivers/gpu/drm/radeon/r200.c 			track->textures[i].compress_format = R100_TRACK_COMP_DXT1;
textures          517 drivers/gpu/drm/radeon/r200.c 			track->textures[i].cpp = 1;
textures          518 drivers/gpu/drm/radeon/r200.c 			track->textures[i].compress_format = R100_TRACK_COMP_DXT1;
textures          521 drivers/gpu/drm/radeon/r200.c 		track->textures[i].cube_info[4].width = 1 << ((idx_value >> 16) & 0xf);
textures          522 drivers/gpu/drm/radeon/r200.c 		track->textures[i].cube_info[4].height = 1 << ((idx_value >> 20) & 0xf);
textures          534 drivers/gpu/drm/radeon/r200.c 			track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf);
textures          535 drivers/gpu/drm/radeon/r200.c 			track->textures[i].cube_info[face].height = 1 << ((tmp >> ((face * 8) + 4)) & 0xf);
textures          734 drivers/gpu/drm/radeon/r300.c 		track->textures[i].robj = reloc->robj;
textures          897 drivers/gpu/drm/radeon/r300.c 			track->textures[i].enabled = enabled;
textures          920 drivers/gpu/drm/radeon/r300.c 		track->textures[i].tex_coord_type = tmp;
textures          925 drivers/gpu/drm/radeon/r300.c 			track->textures[i].cpp = 1;
textures          926 drivers/gpu/drm/radeon/r300.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          938 drivers/gpu/drm/radeon/r300.c 			track->textures[i].cpp = 2;
textures          939 drivers/gpu/drm/radeon/r300.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          950 drivers/gpu/drm/radeon/r300.c 			track->textures[i].cpp = 4;
textures          951 drivers/gpu/drm/radeon/r300.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          956 drivers/gpu/drm/radeon/r300.c 			track->textures[i].cpp = 8;
textures          957 drivers/gpu/drm/radeon/r300.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          960 drivers/gpu/drm/radeon/r300.c 			track->textures[i].cpp = 16;
textures          961 drivers/gpu/drm/radeon/r300.c 			track->textures[i].compress_format = R100_TRACK_COMP_NONE;
textures          964 drivers/gpu/drm/radeon/r300.c 			track->textures[i].cpp = 1;
textures          965 drivers/gpu/drm/radeon/r300.c 			track->textures[i].compress_format = R100_TRACK_COMP_DXT1;
textures          977 drivers/gpu/drm/radeon/r300.c 			track->textures[i].cpp = 1;
textures          978 drivers/gpu/drm/radeon/r300.c 			track->textures[i].compress_format = R100_TRACK_COMP_DXT35;
textures         1007 drivers/gpu/drm/radeon/r300.c 			track->textures[i].roundup_w = false;
textures         1011 drivers/gpu/drm/radeon/r300.c 			track->textures[i].roundup_h = false;
textures         1034 drivers/gpu/drm/radeon/r300.c 		track->textures[i].pitch = tmp + 1;
textures         1037 drivers/gpu/drm/radeon/r300.c 			track->textures[i].width_11 = tmp;
textures         1039 drivers/gpu/drm/radeon/r300.c 			track->textures[i].height_11 = tmp;
textures         1044 drivers/gpu/drm/radeon/r300.c 				track->textures[i].compress_format =
textures         1072 drivers/gpu/drm/radeon/r300.c 		track->textures[i].width = tmp + 1;
textures         1074 drivers/gpu/drm/radeon/r300.c 		track->textures[i].height = tmp + 1;
textures         1076 drivers/gpu/drm/radeon/r300.c 		track->textures[i].num_levels = tmp;
textures         1078 drivers/gpu/drm/radeon/r300.c 		track->textures[i].use_pitch = !!tmp;
textures         1080 drivers/gpu/drm/radeon/r300.c 		track->textures[i].txdepth = tmp;