Lines Matching refs:track

631 	struct r100_cs_track *track;  in r300_packet0_check()  local
639 track = (struct r100_cs_track *)p->track; in r300_packet0_check()
671 track->cb[i].robj = reloc->robj; in r300_packet0_check()
672 track->cb[i].offset = idx_value; in r300_packet0_check()
673 track->cb_dirty = true; in r300_packet0_check()
684 track->zb.robj = reloc->robj; in r300_packet0_check()
685 track->zb.offset = idx_value; in r300_packet0_check()
686 track->zb_dirty = true; in r300_packet0_check()
729 track->textures[i].robj = reloc->robj; in r300_packet0_check()
730 track->tex_dirty = true; in r300_packet0_check()
735 track->vap_vf_cntl = idx_value; in r300_packet0_check()
739 track->vtx_size = idx_value & 0x7F; in r300_packet0_check()
743 track->max_indx = idx_value & 0x00FFFFFFUL; in r300_packet0_check()
749 track->vap_alt_nverts = idx_value & 0xFFFFFF; in r300_packet0_check()
753 track->maxy = ((idx_value >> 13) & 0x1FFF) + 1; in r300_packet0_check()
755 track->maxy -= 1440; in r300_packet0_check()
757 track->cb_dirty = true; in r300_packet0_check()
758 track->zb_dirty = true; in r300_packet0_check()
767 track->num_cb = ((idx_value >> 5) & 0x3) + 1; in r300_packet0_check()
768 track->cb_dirty = true; in r300_packet0_check()
799 track->cb[i].pitch = idx_value & 0x3FFE; in r300_packet0_check()
804 track->cb[i].cpp = 1; in r300_packet0_check()
810 track->cb[i].cpp = 2; in r300_packet0_check()
820 track->cb[i].cpp = 4; in r300_packet0_check()
823 track->cb[i].cpp = 8; in r300_packet0_check()
826 track->cb[i].cpp = 16; in r300_packet0_check()
833 track->cb_dirty = true; in r300_packet0_check()
838 track->z_enabled = true; in r300_packet0_check()
840 track->z_enabled = false; in r300_packet0_check()
842 track->zb_dirty = true; in r300_packet0_check()
849 track->zb.cpp = 2; in r300_packet0_check()
852 track->zb.cpp = 4; in r300_packet0_check()
859 track->zb_dirty = true; in r300_packet0_check()
883 track->zb.pitch = idx_value & 0x3FFC; in r300_packet0_check()
884 track->zb_dirty = true; in r300_packet0_check()
892 track->textures[i].enabled = enabled; in r300_packet0_check()
894 track->tex_dirty = true; in r300_packet0_check()
915 track->textures[i].tex_coord_type = tmp; in r300_packet0_check()
920 track->textures[i].cpp = 1; in r300_packet0_check()
921 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r300_packet0_check()
933 track->textures[i].cpp = 2; in r300_packet0_check()
934 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r300_packet0_check()
945 track->textures[i].cpp = 4; in r300_packet0_check()
946 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r300_packet0_check()
951 track->textures[i].cpp = 8; in r300_packet0_check()
952 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r300_packet0_check()
955 track->textures[i].cpp = 16; in r300_packet0_check()
956 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r300_packet0_check()
959 track->textures[i].cpp = 1; in r300_packet0_check()
960 track->textures[i].compress_format = R100_TRACK_COMP_DXT1; in r300_packet0_check()
972 track->textures[i].cpp = 1; in r300_packet0_check()
973 track->textures[i].compress_format = R100_TRACK_COMP_DXT35; in r300_packet0_check()
980 track->tex_dirty = true; in r300_packet0_check()
1002 track->textures[i].roundup_w = false; in r300_packet0_check()
1006 track->textures[i].roundup_h = false; in r300_packet0_check()
1008 track->tex_dirty = true; in r300_packet0_check()
1029 track->textures[i].pitch = tmp + 1; in r300_packet0_check()
1032 track->textures[i].width_11 = tmp; in r300_packet0_check()
1034 track->textures[i].height_11 = tmp; in r300_packet0_check()
1039 track->textures[i].compress_format = in r300_packet0_check()
1046 track->tex_dirty = true; in r300_packet0_check()
1067 track->textures[i].width = tmp + 1; in r300_packet0_check()
1069 track->textures[i].height = tmp + 1; in r300_packet0_check()
1071 track->textures[i].num_levels = tmp; in r300_packet0_check()
1073 track->textures[i].use_pitch = !!tmp; in r300_packet0_check()
1075 track->textures[i].txdepth = tmp; in r300_packet0_check()
1076 track->tex_dirty = true; in r300_packet0_check()
1090 track->color_channel_mask = idx_value; in r300_packet0_check()
1091 track->cb_dirty = true; in r300_packet0_check()
1104 track->zb_cb_clear = !!(idx_value & (1 << 5)); in r300_packet0_check()
1105 track->cb_dirty = true; in r300_packet0_check()
1106 track->zb_dirty = true; in r300_packet0_check()
1117 track->blend_read_enable = !!(idx_value & (1 << 2)); in r300_packet0_check()
1118 track->cb_dirty = true; in r300_packet0_check()
1128 track->aa.robj = reloc->robj; in r300_packet0_check()
1129 track->aa.offset = idx_value; in r300_packet0_check()
1130 track->aa_dirty = true; in r300_packet0_check()
1134 track->aa.pitch = idx_value & 0x3FFE; in r300_packet0_check()
1135 track->aa_dirty = true; in r300_packet0_check()
1138 track->aaresolve = idx_value & 0x1; in r300_packet0_check()
1139 track->aa_dirty = true; in r300_packet0_check()
1176 struct r100_cs_track *track; in r300_packet3_check() local
1183 track = (struct r100_cs_track *)p->track; in r300_packet3_check()
1212 track->vap_vf_cntl = radeon_get_ib_value(p, idx + 1); in r300_packet3_check()
1213 track->immd_dwords = pkt->count - 1; in r300_packet3_check()
1214 r = r100_cs_track_check(p->rdev, track); in r300_packet3_check()
1227 track->vap_vf_cntl = radeon_get_ib_value(p, idx); in r300_packet3_check()
1228 track->immd_dwords = pkt->count; in r300_packet3_check()
1229 r = r100_cs_track_check(p->rdev, track); in r300_packet3_check()
1235 track->vap_vf_cntl = radeon_get_ib_value(p, idx + 1); in r300_packet3_check()
1236 r = r100_cs_track_check(p->rdev, track); in r300_packet3_check()
1242 track->vap_vf_cntl = radeon_get_ib_value(p, idx); in r300_packet3_check()
1243 r = r100_cs_track_check(p->rdev, track); in r300_packet3_check()
1249 track->vap_vf_cntl = radeon_get_ib_value(p, idx + 1); in r300_packet3_check()
1250 r = r100_cs_track_check(p->rdev, track); in r300_packet3_check()
1256 track->vap_vf_cntl = radeon_get_ib_value(p, idx); in r300_packet3_check()
1257 r = r100_cs_track_check(p->rdev, track); in r300_packet3_check()
1283 struct r100_cs_track *track; in r300_cs_parse() local
1286 track = kzalloc(sizeof(*track), GFP_KERNEL); in r300_cs_parse()
1287 if (track == NULL) in r300_cs_parse()
1289 r100_cs_track_clear(p->rdev, track); in r300_cs_parse()
1290 p->track = track; in r300_cs_parse()