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)
committerjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Mon, 23 Sep 2019 07:32:53 +0000 (15:32 +0800)
commitb1066a123538044117f0a78ba8c6a50cf5a04c86
tree568a01eec1927d8ed62ec1e21a6ded3c035eff2c
parent8581d51055a08cc6eb061c8856062290e8582ce4
drm: Clear the fence pointer when writeback job signaled

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
drivers/gpu/drm/drm_writeback.c