Merge branch 'drm-forlinus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[pandora-kernel.git] / drivers / char / drm / via_verifier.h
index eb4eda3..256590f 100644 (file)
@@ -47,7 +47,7 @@ typedef struct {
        int agp_texture;
        int multitex;
        drm_device_t *dev;
-       drm_map_t *map_cache;
+       drm_local_map_t *map_cache;
        uint32_t vertex_count;
        int agp;
        const uint32_t *buf_start;
@@ -55,5 +55,7 @@ typedef struct {
 
 extern int via_verify_command_stream(const uint32_t * buf, unsigned int size,
                                     drm_device_t * dev, int agp);
+extern int via_parse_command_stream(drm_device_t *dev, const uint32_t *buf,
+                                   unsigned int size);
 
 #endif