Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15340
b: refs/heads/master
c: 67dbb4e
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed Dec 28, 2005
1 parent 9033aa5 commit 63f323c
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: 5ab4a6c81eb3dbe32361791d1535f9153f79b0ed
refs/heads/master: 67dbb4ea33731415fe09c62149a34f472719ac1d
6 changes: 4 additions & 2 deletions trunk/drivers/char/drm/radeon_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@ static void radeon_set_pcigart(drm_radeon_private_t * dev_priv, int on)
static int radeon_do_init_cp(drm_device_t * dev, drm_radeon_init_t * init)
{
drm_radeon_private_t *dev_priv = dev->dev_private;
unsigned int mem_size;
unsigned int mem_size, aper_size;

DRM_DEBUG("\n");

Expand Down Expand Up @@ -1527,7 +1527,9 @@ static int radeon_do_init_cp(drm_device_t * dev, drm_radeon_init_t * init)
mem_size = RADEON_READ(RADEON_CONFIG_MEMSIZE);
if (mem_size == 0)
mem_size = 0x800000;
dev_priv->gart_vm_start = dev_priv->fb_location + mem_size;
aper_size = max(RADEON_READ(RADEON_CONFIG_APER_SIZE), mem_size);

dev_priv->gart_vm_start = dev_priv->fb_location + aper_size;

#if __OS_HAS_AGP
if (!dev_priv->is_pci)
Expand Down

0 comments on commit 63f323c

Please sign in to comment.