]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Silence allocation failure during sg_trim()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 23 Dec 2016 14:57:58 +0000 (14:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 23 Dec 2016 16:07:32 +0000 (16:07 +0000)
commit8bfc478fa455b4908f745df368355b415460c60e
tree6b015f2468c6b4f124ae6119bd25eeae75daa21f
parente5facdf9644f4490520e0489a0252e8feaba3744
drm/i915: Silence allocation failure during sg_trim()

As trimming the sg table is merely an optimisation that gracefully fails
if we cannot allocate a new table, we do not need to report the failure
either.

Fixes: 0c40ce130e38 ("drm/i915: Trim the object sg table")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161223145804.6605-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c