linux/drivers/gpu/drm/radeon/r100_track.h

/* SPDX-License-Identifier: MIT */

#include "radeon.h"

#define R100_TRACK_MAX_TEXTURE
#define R200_TRACK_MAX_TEXTURE
#define R300_TRACK_MAX_TEXTURE

#define R100_MAX_CB
#define R300_MAX_CB

/*
 * CS functions
 */
struct r100_cs_track_cb {};

struct r100_cs_track_array {};

struct r100_cs_cube_info {};

#define R100_TRACK_COMP_NONE
#define R100_TRACK_COMP_DXT1
#define R100_TRACK_COMP_DXT35

struct r100_cs_track_texture {};

struct r100_cs_track {};

int r100_cs_track_check(struct radeon_device *rdev, struct r100_cs_track *track);
void r100_cs_track_clear(struct radeon_device *rdev, struct r100_cs_track *track);

int r100_cs_packet_parse_vline(struct radeon_cs_parser *p);

int r200_packet0_check(struct radeon_cs_parser *p,
		       struct radeon_cs_packet *pkt,
		       unsigned idx, unsigned reg);

int r100_reloc_pitch_offset(struct radeon_cs_parser *p,
			    struct radeon_cs_packet *pkt,
			    unsigned idx,
			    unsigned reg);
int r100_packet3_load_vbpntr(struct radeon_cs_parser *p,
			     struct radeon_cs_packet *pkt,
			     int idx);