[Intel-gfx] [PATCH] drm/i915: grab a pages pin count for preallocate stolen

Daniel Vetter daniel.vetter at ffwll.ch
Wed Dec 18 09:03:48 CET 2013


On Wed, Dec 18, 2013 at 1:00 AM, Ben Widawsky
<benjamin.widawsky at intel.com> wrote:
> I'm missing why _i915_gem_object_create_stolen() isn't good enough for
> pinning the pages.

Citing my commit message "... vma also holds a pages_pin_count". Which
is on top of the general pages_pin_count we have for all stolen
objects to avoid them getting swapped out.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list