Skip to content

Commit 4ea19e5

Browse files
committed
Fix var.width/var.height. They actually mean display size. See #65
1 parent 126b861 commit 4ea19e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/video/bcm2708_fb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ static int bcm2708_fb_register(struct bcm2708_fb *fb)
374374
fb->fb.var.vmode = FB_VMODE_NONINTERLACED;
375375
fb->fb.var.activate = FB_ACTIVATE_NOW;
376376
fb->fb.var.nonstd = 0;
377-
fb->fb.var.height = fbwidth;
378-
fb->fb.var.width = fbheight;
377+
fb->fb.var.height = -1; /* height of picture in mm */
378+
fb->fb.var.width = -1; /* width of picture in mm */
379379
fb->fb.var.accel_flags = 0;
380380

381381
fb->fb.monspecs.hfmin = 0;

0 commit comments

Comments
 (0)