Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218079
b: refs/heads/master
c: 0af9e92
h: refs/heads/master
i:
  218077: d3834c4
  218075: 47cd521
  218071: 199c152
  218063: 2d95d20
  218047: 598925f
v: v3
  • Loading branch information
Daniel Vetter authored and Chris Wilson committed Sep 21, 2010
1 parent 71041b5 commit 4e45ffe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 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: aaa62591199162e6496b4f47cac4f5923bc571d1
refs/heads/master: 0af9e92e779602bdd6d4d19acf63b4802fab91b6
6 changes: 5 additions & 1 deletion trunk/drivers/char/agp/intel-gtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

/* Max amount of stolen space, anything above will be returned to Linux */
int intel_max_stolen = 32 * 1024 * 1024;
EXPORT_SYMBOL(intel_max_stolen);

static const struct aper_size_info_fixed intel_i810_sizes[] =
{
Expand Down Expand Up @@ -756,6 +755,11 @@ static int intel_gtt_init(void)
intel_private.base.gtt_mappable_entries = intel_gtt_mappable_entries();
intel_private.base.gtt_total_entries = intel_gtt_total_entries();

dev_info(&intel_private.bridge_dev->dev,
"detected gtt size: %dK total, %dK mappable\n",
intel_private.base.gtt_total_entries * 4,
intel_private.base.gtt_mappable_entries * 4);

gtt_map_size = intel_private.base.gtt_total_entries * 4;

intel_private.gtt = ioremap(intel_private.gtt_bus_addr,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,6 @@ static int i915_load_modeset_init(struct drm_device *dev,

/* Basic memrange allocator for stolen space (aka mm.vram) */
drm_mm_init(&dev_priv->mm.vram, 0, prealloc_size);
DRM_INFO("set up %ldM of stolen space\n", prealloc_size / (1024*1024));

/* We're off and running w/KMS */
dev_priv->mm.suspended = 0;
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/drm/intel-gtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

#ifndef _DRM_INTEL_GTT_H
#define _DRM_INTEL_GTT_H
extern int intel_max_stolen; /* from AGP driver */

struct intel_gtt {
/* Number of stolen gtt entries at the beginning. */
unsigned int gtt_stolen_entries;
Expand Down

0 comments on commit 4e45ffe

Please sign in to comment.