Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357995
b: refs/heads/master
c: c1fc652
h: refs/heads/master
i:
  357993: 973ed63
  357991: df7c928
v: v3
  • Loading branch information
Ben Widawsky authored and Daniel Vetter committed Jan 17, 2013
1 parent e4a4507 commit 9916c40
Show file tree
Hide file tree
Showing 3 changed files with 2 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: c70af1e4b60a1853feeaae2bf6e2aa98de68acd9
refs/heads/master: c1fc6521efbed7d3aca4e37ac61b23300f161cd1
1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,6 @@ typedef struct drm_i915_private {
/** Usable portion of the GTT for GEM */
unsigned long gtt_start;
unsigned long gtt_mappable_end;
unsigned long gtt_end;
unsigned long stolen_base; /* limited to low memory (32-bit) */

/** "Graphics Stolen Memory" holds the global PTEs */
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/gpu/drm/i915/i915_gem_gtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ void i915_gem_restore_gtt_mappings(struct drm_device *dev)

/* First fill our portion of the GTT with scratch pages */
i915_ggtt_clear_range(dev, dev_priv->mm.gtt_start / PAGE_SIZE,
(dev_priv->mm.gtt_end - dev_priv->mm.gtt_start) / PAGE_SIZE);
dev_priv->mm.gtt_total / PAGE_SIZE);

list_for_each_entry(obj, &dev_priv->mm.bound_list, gtt_list) {
i915_gem_clflush_object(obj);
Expand Down Expand Up @@ -556,7 +556,6 @@ void i915_gem_setup_global_gtt(struct drm_device *dev,

dev_priv->mm.gtt_start = start;
dev_priv->mm.gtt_mappable_end = mappable_end;
dev_priv->mm.gtt_end = end;
dev_priv->mm.gtt_total = end - start;
dev_priv->mm.mappable_gtt_total = min(end, mappable_end) - start;

Expand Down

0 comments on commit 9916c40

Please sign in to comment.