]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/msm/dpu: release resources on modeset failure
authorJeykumar Sankaran <jsanka@codeaurora.org>
Thu, 14 Feb 2019 01:19:12 +0000 (17:19 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:29 +0000 (06:43 -0700)
commitaa6b53c2bcf9bb88b825af07e49df7fad5cf6324
treecca8fe6c07404841ef20fb77aba017136a3d1832
parent216fb3cc905789e2a5216bfa11d9f229d151935a
drm/msm/dpu: release resources on modeset failure

[ Upstream commit a7fcc3237f31a4e206953bb73cf41bd429442f09 ]

release resources allocated in mode_set if any of
the hw check fails. Most of these checks are not
necessary and they will be removed in the follow up
patches with state based resource allocations.

Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1550107156-17625-4-git-send-email-jsanka@codeaurora.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c