Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294279
b: refs/heads/master
c: 561c907
h: refs/heads/master
i:
  294277: 2a8ae94
  294275: d7f4b93
  294271: 5676b3e
v: v3
  • Loading branch information
Florian Tobias Schandinat authored and Florian Tobias Schandinat committed Feb 10, 2012
1 parent 140dcb9 commit a9d6c7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0e12a9282a879577ba8e35c73ff5d94ae1f50b9
refs/heads/master: 561c9079ea1de24f8d49c73391811c547d1b2636
3 changes: 2 additions & 1 deletion trunk/drivers/video/via/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,6 @@ void viafb_set_dpa_gfx(int output_interface, struct GFX_DPA_SETTING\
}
}

/*According var's xres, yres fill var's other timing information*/
void viafb_fill_var_timing_info(struct fb_var_screeninfo *var,
struct crt_mode_table *mode)
{
Expand All @@ -2134,6 +2133,8 @@ void viafb_fill_var_timing_info(struct fb_var_screeninfo *var,
crt_reg = mode->crtc;
var->pixclock = 1000000000 / (crt_reg.hor_total * crt_reg.ver_total)
* 1000 / mode->refresh_rate;
var->xres = crt_reg.hor_addr;
var->yres = crt_reg.ver_addr;
var->left_margin =
crt_reg.hor_total - (crt_reg.hor_sync_start + crt_reg.hor_sync_end);
var->right_margin = crt_reg.hor_sync_start - crt_reg.hor_addr;
Expand Down

0 comments on commit a9d6c7a

Please sign in to comment.