]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: bf548-ezkit: fix incorrect LCD size parameters
authorStefan Pledl <stefan.pledl@mesutronic.de>
Wed, 29 Jul 2009 08:09:45 +0000 (08:09 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 02:10:12 +0000 (22:10 -0400)
commit6c88669a5d45f59223f8562e76258f8a5a32d046
tree49d5c451f375bcf8768601acacc3535c44fc884d
parentbf4ed592facfe65824c66940c2144c2d2e35c792
Blackfin: bf548-ezkit: fix incorrect LCD size parameters

I think we have to use the physical dimensions [mm] of the display for
.width and .heigth in struct bfin_bf54xfb_mach_info bf54x_lq043_data which
are copied to fbinfo->var.height/.width in bf54x-lq043fb.c.

linux/fb.h describes this values as 'height/weight of picture in mm'

Otherwise QT calcs the wrong dpi value and the displayed fonts are very
small.

Signed-off-by: Stefan Pledl <stefan.pledl@mesutronic.de>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf548/boards/ezkit.c