summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-01-31 13:46:30 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-01-31 14:15:03 +0300
commit4703b0472e126c715019a9671ea0fe38556114bb (patch)
treee7b4ff4b480227a5c3cd07e929c0921fd0b2a8d3 /include/linux
parent9b51b105f2a52a873107d7b28f0aca94e52ad7bd (diff)
downloadlinux-4703b0472e126c715019a9671ea0fe38556114bb.tar.xz
drm/i915: Be defensive when cleaning up i915_gem_internal pages
If we abort the i915_gem_internal get_pages, we mark the failing sg as the last. However, that means we iterate upto and including the failing sg element and results in us trying to free the unallocated sg_page(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170131104630.3074-1-chris@chris-wilson.co.uk Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions