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)
commit0e101ec12e68f25dd769a4b7ecb5e7ead0aae7c0
tree49d5c451f375bcf8768601acacc3535c44fc884d
parentb3dec4a4ff495248170358cb3b8254a814e5b096
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