Permalink
Browse files

Fix var.width/var.height. They actually mean display size. See #65

  • Loading branch information...
1 parent 249c664 commit eab45cba7edffe1a2ccdd9bcd7b30009f50a7914 @popcornmix popcornmix committed Jul 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 drivers/video/bcm2708_fb.c
@@ -374,8 +374,8 @@ static int bcm2708_fb_register(struct bcm2708_fb *fb)
fb->fb.var.vmode = FB_VMODE_NONINTERLACED;
fb->fb.var.activate = FB_ACTIVATE_NOW;
fb->fb.var.nonstd = 0;
- fb->fb.var.height = fbwidth;
- fb->fb.var.width = fbheight;
+ fb->fb.var.height = -1; /* height of picture in mm */
+ fb->fb.var.width = -1; /* width of picture in mm */
fb->fb.var.accel_flags = 0;
fb->fb.monspecs.hfmin = 0;

0 comments on commit eab45cb

Please sign in to comment.