OSDN Git Service

radeon: fix fence race condition hopefully
[android-x86/external-libdrm.git] / shared-core / via_verifier.h
index c50a813..abdaa65 100644 (file)
@@ -33,8 +33,6 @@ typedef enum {
        tex_address
 } drm_via_sequence_t;
 
-
-
 typedef struct {
        unsigned texture;
        uint32_t z_addr;
@@ -45,7 +43,7 @@ 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];
+       uint32_t tex_npot[2];
        drm_via_sequence_t unfinished;
        int agp_texture;
        int multitex;
@@ -56,9 +54,9 @@ typedef struct {
        const uint32_t *buf_start;
 } drm_via_state_t;
 
-extern int via_verify_command_stream(const uint32_t * buf, unsigned int size,
+extern int via_verify_command_stream(const uint32_t *buf, unsigned int size,
                                    struct drm_device *dev, int agp);
-extern int via_parse_command_stream(struct drm_device *dev, const uint32_t * buf,
+extern int via_parse_command_stream(struct drm_device *dev, const uint32_t *buf,
                                    unsigned int size);
 
 #endif