Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84023
b: refs/heads/master
c: 8b40958
h: refs/heads/master
i:
  84021: 8b38227
  84019: 21fad9d
  84015: f92f4c5
v: v3
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Feb 7, 2008
1 parent 5bb426c commit 5b471c9
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: ded23359ccb884605336ac2193608a7af9a3b117
refs/heads/master: 8b40958032fd236194de57d29be9cf2c1f2643ee
3 changes: 1 addition & 2 deletions trunk/drivers/char/drm/drm_agpsupport.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ int drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode)

dev->agp->mode = mode.mode;
agp_enable(dev->agp->bridge, mode.mode);
dev->agp->base = dev->agp->agp_info.aper_base;
dev->agp->enabled = 1;
return 0;
}
Expand Down Expand Up @@ -417,7 +416,7 @@ struct drm_agp_head *drm_agp_init(struct drm_device *dev)
INIT_LIST_HEAD(&head->memory);
head->cant_use_aperture = head->agp_info.cant_use_aperture;
head->page_mask = head->agp_info.page_mask;

head->base = head->agp_info.aper_base;
return head;
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/char/drm/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ static int i915_set_status_page(struct drm_device *dev, void *data,

dev_priv->status_gfx_addr = hws->addr & (0x1ffff<<12);

dev_priv->hws_map.offset = dev->agp->agp_info.aper_base + hws->addr;
dev_priv->hws_map.offset = dev->agp->base + hws->addr;
dev_priv->hws_map.size = 4*1024;
dev_priv->hws_map.type = 0;
dev_priv->hws_map.flags = 0;
Expand Down

0 comments on commit 5b471c9

Please sign in to comment.