Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242321
b: refs/heads/master
c: f6e4788
h: refs/heads/master
i:
  242319: b3f088f
v: v3
  • Loading branch information
Chris Wilson committed Mar 23, 2011
1 parent 5943378 commit 193cc8b
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 26e12f894317bf0221fed40bef6f937538a78c0b
refs/heads/master: f6e47884e7f588094bf7b824c839a9ee33f2aa55
7 changes: 4 additions & 3 deletions trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1356,9 +1356,10 @@ i915_gem_release_mmap(struct drm_i915_gem_object *obj)
if (!obj->fault_mappable)
return;

unmap_mapping_range(obj->base.dev->dev_mapping,
(loff_t)obj->base.map_list.hash.key<<PAGE_SHIFT,
obj->base.size, 1);
if (obj->base.dev->dev_mapping)
unmap_mapping_range(obj->base.dev->dev_mapping,
(loff_t)obj->base.map_list.hash.key<<PAGE_SHIFT,
obj->base.size, 1);

obj->fault_mappable = false;
}
Expand Down

0 comments on commit 193cc8b

Please sign in to comment.