Skip to contentSkip to conversation

BMP: Add support for 32bpp video frame buffer

PATCH In review Gregory CLEMENT 2 participants 3 messages Jan 4, 2011 – Jan 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 BMP: Add support for 32bpp video frame buffer

---
 commands/bmp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
commands/bmp.c +1 -0
index 5bac031..644a977 100644
@@ -25,6 +25,7 @@ static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int
 		*(u16 *)adr = px;
 		break;
 	case 32:
+		*(u32 *)adr = px;
 		break;
 	}
 }
Signature · 8 lines
1.7.0.4



_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 10 lines · Gregory CLEMENT
---
 commands/bmp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
commands/bmp.c +0 -0
index 5bac031..644a977 100644

commands/bmp.c static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int · line 31

Quoted 7 lines
commands/bmp.c +1 -0
@@ -25,6 +25,7 @@ static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int
 		*(u16 *)adr = px;
 		break;
 	case 32:
+		*(u32 *)adr = px;
 		break;
 	}
 }

Any comments for this patch?

It seems pretty trivial and it works at least for me. But if I missed something, let me know.

Signature · 9 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 20 lines · Gregory CLEMENT
Quoted 10 lines · Gregory CLEMENT
---
 commands/bmp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
commands/bmp.c +0 -0
index 5bac031..644a977 100644

commands/bmp.c static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int · line 31

Quoted 7 lines
commands/bmp.c +1 -0
@@ -25,6 +25,7 @@ static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int
 		*(u16 *)adr = px;
 		break;
 	case 32:
+		*(u32 *)adr = px;
 		break;
 	}
 }

Any comments for this patch?

Quoted 2 lines

It seems pretty trivial and it works at least for me. But if I missed something, let me know.

Sorry, missed it. Applied now.

Thanks
Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox