]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
authorDan Carpenter <error27@gmail.com>
Tue, 15 Nov 2022 13:15:18 +0000 (16:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:58 +0000 (11:41 +0100)
commit8bd8e20756863ea2a70064f2748155463a177fa5
tree0c3b631368080660d9011da69dfa80fb7723892a
parent950d4aa620f018a3e6f3f1b31e1cc32c772605fa
drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()

[ Upstream commit 3792fc508c095abd84b10ceae12bd773e61fdc36 ]

Call intel_vgpu_unpin_mm() on this error path.

Fixes: fbf4548f0a56 ("drm/i915/gvt: Adding ppgtt to GVT GEM context after shadow pdps settled.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/Y3OQ5tgZIVxyQ/WV@kili
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/gvt/scheduler.c