]> err.no Git - linux-2.6/blobdiff - drivers/char/drm/via_verifier.h
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6] / drivers / char / drm / via_verifier.h
index eb4eda344345129144913003b7c242a4e2db3166..28b50296a7bdfb18453a0eff61b59c7c4d7269fc 100644 (file)
@@ -43,17 +43,20 @@ typedef struct {
        uint32_t tex_level_lo[2];
        uint32_t tex_level_hi[2];
        uint32_t tex_palette_size[2];
+       uint32_t tex_npot[2];
        drm_via_sequence_t unfinished;
        int agp_texture;
        int multitex;
-       drm_device_t *dev;
-       drm_map_t *map_cache;
+       struct drm_device *dev;
+       drm_local_map_t *map_cache;
        uint32_t vertex_count;
        int agp;
        const uint32_t *buf_start;
 } drm_via_state_t;
 
 extern int via_verify_command_stream(const uint32_t * buf, unsigned int size,
-                                    drm_device_t * dev, int agp);
+                                    struct drm_device * dev, int agp);
+extern int via_parse_command_stream(struct drm_device *dev, const uint32_t *buf,
+                                   unsigned int size);
 
 #endif