According to this API spec, the line length is a fixed measure of bytes, which can be changed by the driver.
Quote:
151 struct fb_fix_screeninfo stores device independent unchangeable information
152 about the frame buffer device and the current format. Those information can't
153 be directly modified by applications, but can be changed by the driver when an
154 application modifies the format.
|
See:
http://www.mjmwired.net/kernel/Docum...fb/api.txt#144
fb_var_screeninfo.xres is "visible resolution" while line_length is "length of a line in bytes". At some point they will both be bytes, but the difference here could be due to a level of abstraction. I am a noob, so dunno