diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:28:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:14 -0400 |
commit | 91b3a6f4cdbfc73019df36a4b10238063c00f3c3 (patch) | |
tree | 410dc764d196034f466a6df88d12f63f265a28a9 /include | |
parent | d5383fcc4c221227b954e028821a697ca7859e0e (diff) |
pm2fb: accelerated imageblit
This patch adds accelerated imageblit function.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/permedia2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/video/permedia2.h b/include/video/permedia2.h index 9e49c9571ec3..144c81cbcfc6 100644 --- a/include/video/permedia2.h +++ b/include/video/permedia2.h | |||
@@ -68,11 +68,14 @@ | |||
68 | #define PM2R_D_Y 0x8028 | 68 | #define PM2R_D_Y 0x8028 |
69 | #define PM2R_COUNT 0x8030 | 69 | #define PM2R_COUNT 0x8030 |
70 | #define PM2R_RENDER 0x8038 | 70 | #define PM2R_RENDER 0x8038 |
71 | #define PM2R_BIT_MASK_PATTERN 0x8068 | ||
71 | #define PM2R_RASTERIZER_MODE 0x80a0 | 72 | #define PM2R_RASTERIZER_MODE 0x80a0 |
72 | #define PM2R_RECTANGLE_ORIGIN 0x80d0 | 73 | #define PM2R_RECTANGLE_ORIGIN 0x80d0 |
73 | #define PM2R_RECTANGLE_SIZE 0x80d8 | 74 | #define PM2R_RECTANGLE_SIZE 0x80d8 |
74 | #define PM2R_PACKED_DATA_LIMITS 0x8150 | 75 | #define PM2R_PACKED_DATA_LIMITS 0x8150 |
75 | #define PM2R_SCISSOR_MODE 0x8180 | 76 | #define PM2R_SCISSOR_MODE 0x8180 |
77 | #define PM2R_SCISSOR_MIN_XY 0x8188 | ||
78 | #define PM2R_SCISSOR_MAX_XY 0x8190 | ||
76 | #define PM2R_SCREEN_SIZE 0x8198 | 79 | #define PM2R_SCREEN_SIZE 0x8198 |
77 | #define PM2R_AREA_STIPPLE_MODE 0x81a0 | 80 | #define PM2R_AREA_STIPPLE_MODE 0x81a0 |
78 | #define PM2R_WINDOW_ORIGIN 0x81c8 | 81 | #define PM2R_WINDOW_ORIGIN 0x81c8 |
@@ -83,7 +86,9 @@ | |||
83 | #define PM2R_TEXEL_LUT_MODE 0x8678 | 86 | #define PM2R_TEXEL_LUT_MODE 0x8678 |
84 | #define PM2R_TEXTURE_COLOR_MODE 0x8680 | 87 | #define PM2R_TEXTURE_COLOR_MODE 0x8680 |
85 | #define PM2R_FOG_MODE 0x8690 | 88 | #define PM2R_FOG_MODE 0x8690 |
89 | #define PM2R_TEXEL0 0x8760 | ||
86 | #define PM2R_COLOR_DDA_MODE 0x87e0 | 90 | #define PM2R_COLOR_DDA_MODE 0x87e0 |
91 | #define PM2R_CONSTANT_COLOR 0x87e8 | ||
87 | #define PM2R_ALPHA_BLEND_MODE 0x8810 | 92 | #define PM2R_ALPHA_BLEND_MODE 0x8810 |
88 | #define PM2R_DITHER_MODE 0x8818 | 93 | #define PM2R_DITHER_MODE 0x8818 |
89 | #define PM2R_FB_SOFT_WRITE_MASK 0x8820 | 94 | #define PM2R_FB_SOFT_WRITE_MASK 0x8820 |
@@ -169,6 +174,8 @@ | |||
169 | #define PM2F_RENDER_TRAPEZOID (1L<<6) | 174 | #define PM2F_RENDER_TRAPEZOID (1L<<6) |
170 | #define PM2F_RENDER_POINT (2L<<6) | 175 | #define PM2F_RENDER_POINT (2L<<6) |
171 | #define PM2F_RENDER_RECTANGLE (3L<<6) | 176 | #define PM2F_RENDER_RECTANGLE (3L<<6) |
177 | #define PM2F_RENDER_SYNC_ON_BIT_MASK (1L<<11) | ||
178 | #define PM2F_RENDER_TEXTURE_ENABLE (1L<<13) | ||
172 | #define PM2F_SYNCHRONIZATION (1L<<10) | 179 | #define PM2F_SYNCHRONIZATION (1L<<10) |
173 | #define PM2F_PLL_LOCKED 0x10 | 180 | #define PM2F_PLL_LOCKED 0x10 |
174 | #define PM2F_BEING_RESET (1L<<31) | 181 | #define PM2F_BEING_RESET (1L<<31) |