]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm: Clear the fence pointer when writeback job signaled
authorLowry Li (Arm Technology China) <Lowry.Li@arm.com>
Wed, 31 Jul 2019 11:04:45 +0000 (11:04 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 17:46:10 +0000 (18:46 +0100)
commit24a2c8666834387776954c8dbcd024bfb8d8ae04
tree35be5c279f470d95ac28442aa19ca8bc0f16ff20
parentd67b9db81c1158edb106e3b3e9db3005d602497b
drm: Clear the fence pointer when writeback job signaled

BugLink: https://bugs.launchpad.net/bugs/1850456
[ Upstream commit b1066a123538044117f0a78ba8c6a50cf5a04c86 ]

During it signals the completion of a writeback job, after releasing
the out_fence, we'd clear the pointer.

Check if fence left over in drm_writeback_cleanup_job(), release it.

Signed-off-by: Lowry Li (Arm Technology China) <lowry.li@arm.com>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1564571048-15029-3-git-send-email-lowry.li@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/gpu/drm/drm_writeback.c