projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e29c32d
)
drm/i915: Make stolen use pin pages
author
Ben Widawsky
<ben@bwidawsk.net>
Fri, 31 May 2013 21:46:19 +0000
(14:46 -0700)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 3 Jun 2013 08:47:56 +0000
(10:47 +0200)
This makes it easier to catch leaks.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_stolen.c
b/drivers/gpu/drm/i915/i915_gem_stolen.c
index 89cbfab9570e942c2bd3712c28bd536eaa81cd69..bc593e35357628782d2a578eff09d42f7b0a3e44 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/
drivers/gpu/drm/i915/i915_gem_stolen.c
@@
-279,7
+279,7
@@
_i915_gem_object_create_stolen(struct drm_device *dev,
goto cleanup;
obj->has_dma_mapping = true;
-
obj->pages_pin_count = 1
;
+
i915_gem_object_pin_pages(obj)
;
obj->stolen = stolen;
obj->base.write_domain = I915_GEM_DOMAIN_GTT;