/* Check next packet is relocation packet3, do bo validation and compute GPU offset using the provided start.  */
static int r600_cs_packet_next_is_pkt3_nop(struct radeon_cs_parser *p)
/* Check next packet is relocation packet3, do bo validation and compute GPU offset using the provided start.  */
static int r600_cs_packet_next_is_pkt3_nop(struct radeon_cs_parser *p)
{
	struct radeon_cs_packet p3reloc;
	int r;
	r = r600_cs_packet_parse(p, &p3reloc, p->idx);
	if (r) {
		return 0;
	}
	if (p3reloc.type != PACKET_TYPE3 || p3reloc.opcode != PACKET3_NOP) {
		return 0;
	}
	return 1;
}