Subversion Repositories Kolibri OS

Rev

Rev 5078 | Rev 6104 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5078 Rev 5271
Line 596... Line 596...
596
 
596
 
597
static int r300_packet0_check(struct radeon_cs_parser *p,
597
static int r300_packet0_check(struct radeon_cs_parser *p,
598
		struct radeon_cs_packet *pkt,
598
		struct radeon_cs_packet *pkt,
599
		unsigned idx, unsigned reg)
599
		unsigned idx, unsigned reg)
600
{
600
{
601
	struct radeon_cs_reloc *reloc;
601
	struct radeon_bo_list *reloc;
602
	struct r100_cs_track *track;
602
	struct r100_cs_track *track;
603
	volatile uint32_t *ib;
603
	volatile uint32_t *ib;
604
	uint32_t tmp, tile_flags = 0;
604
	uint32_t tmp, tile_flags = 0;
605
	unsigned i;
605
	unsigned i;
Line 1140... Line 1140...
1140
}
1140
}
Line 1141... Line 1141...
1141
 
1141
 
1142
static int r300_packet3_check(struct radeon_cs_parser *p,
1142
static int r300_packet3_check(struct radeon_cs_parser *p,
1143
			      struct radeon_cs_packet *pkt)
1143
			      struct radeon_cs_packet *pkt)
1144
{
1144
{
1145
	struct radeon_cs_reloc *reloc;
1145
	struct radeon_bo_list *reloc;
1146
	struct r100_cs_track *track;
1146
	struct r100_cs_track *track;
1147
	volatile uint32_t *ib;
1147
	volatile uint32_t *ib;
1148
	unsigned idx;
1148
	unsigned idx;
Line 1281... Line 1281...
1281
			return -EINVAL;
1281
			return -EINVAL;
1282
		}
1282
		}
1283
		if (r) {
1283
		if (r) {
1284
			return r;
1284
			return r;
1285
		}
1285
		}
1286
	} while (p->idx < p->chunks[p->chunk_ib_idx].length_dw);
1286
	} while (p->idx < p->chunk_ib->length_dw);
1287
	return 0;
1287
	return 0;
1288
}
1288
}
Line 1289... Line 1289...
1289
 
1289
 
1290
void r300_set_reg_safe(struct radeon_device *rdev)
1290
void r300_set_reg_safe(struct radeon_device *rdev)