projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3552f09
)
matroxfb: color setting fixes fix
author
Antonino A. Daplas
<
[email protected]
>
Tue, 17 Jul 2007 11:05:47 +0000
(
04:05
-0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 17 Jul 2007 17:23:13 +0000
(10:23 -0700)
Remove more code that writes to cmap[16].
Signed-off-by: Antonino Daplas <
[email protected]
>
Acked-by: Petr Vandrovec <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/matrox/matroxfb_accel.c
patch
|
blob
|
history
diff --git
a/drivers/video/matrox/matroxfb_accel.c
b/drivers/video/matrox/matroxfb_accel.c
index 209fe697ecc7f6f132afce56d1075e7ba48737a2..3660d2673bdc9064f988858830dca640e1c10be1 100644
(file)
--- a/
drivers/video/matrox/matroxfb_accel.c
+++ b/
drivers/video/matrox/matroxfb_accel.c
@@
-91,7
+91,6
@@
static inline void matrox_cfb4_pal(u_int32_t* pal) {
for (i = 0; i < 16; i++) {
pal[i] = i * 0x11111111U;
}
- pal[i] = 0xFFFFFFFF;
}
static inline void matrox_cfb8_pal(u_int32_t* pal) {
@@
-100,7
+99,6
@@
static inline void matrox_cfb8_pal(u_int32_t* pal) {
for (i = 0; i < 16; i++) {
pal[i] = i * 0x01010101U;
}
- pal[i] = 0x0F0F0F0F;
}
static void matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area);