Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155054
b: refs/heads/master
c: 99f5d48
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Helt authored and Linus Torvalds committed Jul 8, 2009
1 parent 3b6b15a commit 4e99246
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: d7272e5bd9ead4389849db9749b8c4dabd459dd1
refs/heads/master: 99f5d48b98fb52db6da379c1b1fd6c87438ee45a
6 changes: 4 additions & 2 deletions trunk/drivers/video/matrox/matroxfb_crtc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,18 @@ static int matroxfb_dh_release(struct fb_info* info, int user) {
#undef m2info
}

/*
* This function is called before the register_framebuffer so
* no locking is needed.
*/
static void matroxfb_dh_init_fix(struct matroxfb_dh_fb_info *m2info)
{
struct fb_fix_screeninfo *fix = &m2info->fbcon.fix;

strcpy(fix->id, "MATROX DH");

mutex_lock(&m2info->fbcon.mm_lock);
fix->smem_start = m2info->video.base;
fix->smem_len = m2info->video.len_usable;
mutex_unlock(&m2info->fbcon.mm_lock);
fix->ypanstep = 1;
fix->ywrapstep = 0;
fix->xpanstep = 8; /* TBD */
Expand Down

0 comments on commit 4e99246

Please sign in to comment.