Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307240
b: refs/heads/master
c: 37214ca
h: refs/heads/master
v: v3
  • Loading branch information
Kirill A. Shutemov authored and Dave Airlie committed May 7, 2012
1 parent d37c70b commit 41ef31d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 846a6038d6260153cb16377515e372ed10a2020f
refs/heads/master: 37214ca00e64749e1e65f159aa88f206acfd8e38
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/gma500/framebuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,7 @@ static int psbfb_create(struct psb_fbdev *fbdev,
info->fix.ypanstep = 0;

/* Accessed stolen memory directly */
info->screen_base = (char *)dev_priv->vram_addr +
backing->offset;
info->screen_base = dev_priv->vram_addr + backing->offset;
info->screen_size = size;

if (dev_priv->gtt.stolen_size) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/gma500/psb_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ struct drm_psb_private {
struct page *scratch_page;
u32 __iomem *gtt_map;
uint32_t stolen_base;
void *vram_addr;
u8 __iomem *vram_addr;
unsigned long vram_stolen_size;
int gtt_initialized;
u16 gmch_ctrl; /* Saved GTT setup */
Expand Down

0 comments on commit 41ef31d

Please sign in to comment.