Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179339
b: refs/heads/master
c: 97922b5
h: refs/heads/master
i:
  179337: 7ef1470
  179335: 3c4e05f
v: v3
  • Loading branch information
Erik-Jan Post authored and Linus Torvalds committed Jan 16, 2010
1 parent 1605d31 commit c1930fc
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8a3a95c32f612068be8dae74fa5fc4cf2db1592e
refs/heads/master: 97922b5462fa543484831d42ab0fe4562b9373fc
5 changes: 4 additions & 1 deletion trunk/drivers/video/via/accel.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ static int hw_bitblt_1(void __iomem *engine, u8 op, u32 width, u32 height,
tmp, dst_pitch);
return -EINVAL;
}
tmp = (tmp >> 3) | (dst_pitch << (16 - 3));
tmp = VIA_PITCH_ENABLE | (tmp >> 3) | (dst_pitch << (16 - 3));
writel(tmp, engine + 0x38);

if (op == VIA_BITBLT_FILL)
Expand Down Expand Up @@ -352,6 +352,9 @@ int viafb_init_engine(struct fb_info *info)
viapar->shared->vq_vram_addr = viapar->fbmem_free;
viapar->fbmem_used += VQ_SIZE;

/* Init 2D engine reg to reset 2D engine */
writel(0x0, engine + VIA_REG_KEYCONTROL);

/* Init AGP and VQ regs */
switch (chip_name) {
case UNICHROME_K8M890:
Expand Down

0 comments on commit c1930fc

Please sign in to comment.