BMP: Add support for 32bpp video frame buffer
PATCH 1/1 BMP: Add support for 32bpp video frame buffer
Signed-off-by Gregory CLEMENT <[email protected]>
--- commands/bmp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
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 ; } }
Signature · 8 lines
1.7.0.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 10 lines · Gregory CLEMENT
Signed-off-by Gregory CLEMENT <[email protected]>--- commands/bmp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)commands/bmp.c +0
-0
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
Quoted 20 lines · Gregory CLEMENT
Quoted 10 lines · Gregory CLEMENT
Signed-off-by Gregory CLEMENT <[email protected]>--- commands/bmp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)commands/bmp.c +0
-0commands/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