hush/miscutils
Yin Kangkai 3ac066c256 fbsplash: use line_length instead of xres * bytes_per_pixel
In some system (e.g. my "strange" device), line_length is not equal xres *
bytes_per_pixel, so we need to use line_length in scr_fix to mmap and draw
rectangle etc.

My "strange" device output this:
bytes_per_pixel: 4
xres: 600, yres: 1024
yoffset: 0, xoffset: 0, line_length: 2432
G.addr: b74da000

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-02-29 18:07:59 +01:00
..
2011-07-08 08:34:28 +02:00
2011-09-21 01:59:15 +02:00
2011-08-28 05:31:49 +02:00
2011-05-30 23:00:47 +02:00
2011-10-28 14:07:44 +02:00
2011-07-08 08:34:28 +02:00