Commit 0e101ec1 authored by Stefan Pledl's avatar Stefan Pledl Committed by Mike Frysinger

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: default avatarStefan Pledl <stefan.pledl@mesutronic.de>
Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent b3dec4a4
...@@ -99,8 +99,8 @@ static struct platform_device bfin_isp1760_device = { ...@@ -99,8 +99,8 @@ static struct platform_device bfin_isp1760_device = {
#include <mach/bf54x-lq043.h> #include <mach/bf54x-lq043.h>
static struct bfin_bf54xfb_mach_info bf54x_lq043_data = { static struct bfin_bf54xfb_mach_info bf54x_lq043_data = {
.width = 480, .width = 95,
.height = 272, .height = 54,
.xres = {480, 480, 480}, .xres = {480, 480, 480},
.yres = {272, 272, 272}, .yres = {272, 272, 272},
.bpp = {24, 24, 24}, .bpp = {24, 24, 24},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment