aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-07-26 17:00:38 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-07-27 09:56:11 +0200
commit4d3088c7bd4f137eb51bdff6a27d861d3a6361b8 (patch)
treead2f75abebb7438b10dc879cdb17928ac7736a1b /scripts/patch-kernel
parentdrm/i915: Make i915_gem_object_phys_attach() use obj->mm.lock more appropriately (diff)
downloadlinux-dev-4d3088c7bd4f137eb51bdff6a27d861d3a6361b8.tar.xz
linux-dev-4d3088c7bd4f137eb51bdff6a27d861d3a6361b8.zip
drm/i915: Pin the pages before acquiring struct_mutex for display
Since we don't need the struct_mutex to acquire the object's pages, call i915_gem_object_pin_pages() before we bind the object into the GGTT. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170726160038.29487-3-chris@chris-wilson.co.uk Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions