diff options
Diffstat (limited to 'drivers/char/drm/via_verifier.h')
-rw-r--r-- | drivers/char/drm/via_verifier.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/drivers/char/drm/via_verifier.h b/drivers/char/drm/via_verifier.h index a8e13592620f..eb4eda344345 100644 --- a/drivers/char/drm/via_verifier.h +++ b/drivers/char/drm/via_verifier.h | |||
@@ -26,23 +26,21 @@ | |||
26 | #ifndef _VIA_VERIFIER_H_ | 26 | #ifndef _VIA_VERIFIER_H_ |
27 | #define _VIA_VERIFIER_H_ | 27 | #define _VIA_VERIFIER_H_ |
28 | 28 | ||
29 | typedef enum{ | 29 | typedef enum { |
30 | no_sequence = 0, | 30 | no_sequence = 0, |
31 | z_address, | 31 | z_address, |
32 | dest_address, | 32 | dest_address, |
33 | tex_address | 33 | tex_address |
34 | }drm_via_sequence_t; | 34 | } drm_via_sequence_t; |
35 | 35 | ||
36 | 36 | typedef struct { | |
37 | |||
38 | typedef struct{ | ||
39 | unsigned texture; | 37 | unsigned texture; |
40 | uint32_t z_addr; | 38 | uint32_t z_addr; |
41 | uint32_t d_addr; | 39 | uint32_t d_addr; |
42 | uint32_t t_addr[2][10]; | 40 | uint32_t t_addr[2][10]; |
43 | uint32_t pitch[2][10]; | 41 | uint32_t pitch[2][10]; |
44 | uint32_t height[2][10]; | 42 | uint32_t height[2][10]; |
45 | uint32_t tex_level_lo[2]; | 43 | uint32_t tex_level_lo[2]; |
46 | uint32_t tex_level_hi[2]; | 44 | uint32_t tex_level_hi[2]; |
47 | uint32_t tex_palette_size[2]; | 45 | uint32_t tex_palette_size[2]; |
48 | drm_via_sequence_t unfinished; | 46 | drm_via_sequence_t unfinished; |
@@ -55,7 +53,7 @@ typedef struct{ | |||
55 | const uint32_t *buf_start; | 53 | const uint32_t *buf_start; |
56 | } drm_via_state_t; | 54 | } drm_via_state_t; |
57 | 55 | ||
58 | extern int via_verify_command_stream(const uint32_t * buf, unsigned int size, | 56 | extern int via_verify_command_stream(const uint32_t * buf, unsigned int size, |
59 | drm_device_t *dev, int agp); | 57 | drm_device_t * dev, int agp); |
60 | 58 | ||
61 | #endif | 59 | #endif |