]> www.infradead.org Git - users/willy/linux.git/commit
drm/msm: Gracefully handle failure in _msm_gem_kernel_new
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 2 Nov 2018 15:25:19 +0000 (09:25 -0600)
committerRob Clark <robdclark@gmail.com>
Mon, 3 Dec 2018 13:53:27 +0000 (08:53 -0500)
commit2d853dcd2398103db013476b4dd56e7d88e90dbb
treea56881ea1936e3f06a6afc5b49f851b58d4d5568
parent1f501db8c8c3f74ef3b3348eb6c2583fa1e7c85b
drm/msm: Gracefully handle failure in _msm_gem_kernel_new

If any of the function calls in _msm_gem_kernel_new fail we need
to make sure to dereference the GEM object with the appropriate
function for the current locking state.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem.c