diff options
| author | Florian Tobias Schandinat <[email protected]> | 2009-09-22 16:47:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-23 07:39:53 -0700 |
| commit | 2d6e8851f608bd0c811f2df83eeff4ad8631e723 (patch) | |
| tree | 76aad6e6e48a294d742acc4a0751e5d8ab86bf50 /tools/perf/scripts/python | |
| parent | 5016af53ebbd1450c2656c94dfbd1dad15c19f60 (diff) | |
viafb: improve pitch handling
Split the pitch handling up and replaces the calculation from virtual xres
and bpp with fix.line_length which already contains the pitch and does not
add any constrains for the virtual resolution.
Also add a bit to the second pitch which the documentation mentions but
which was ignored by the driver.
Although it is a bit unclear what the right pitch for some LCD modes is
this patch should have no negative runtime impact.
Signed-off-by: Florian Tobias Schandinat <[email protected]>
Cc: Scott Fang <[email protected]>
Cc: Joseph Chan <[email protected]>
Cc: Harald Welte <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions