diff options
author | Lowry Li (Arm Technology China) <Lowry.Li@arm.com> | 2019-07-31 13:04:38 +0200 |
---|---|---|
committer | james qian wang (Arm Technology China) <james.qian.wang@arm.com> | 2019-09-23 09:31:53 +0200 |
commit | 8581d51055a08cc6eb061c8856062290e8582ce4 (patch) | |
tree | 498a22d3cb8254267a1e5dcb09ed7bbc19a58688 /drivers/gpu/drm/drm_writeback.c | |
parent | drm/lima: fix lima_gem_wait() return value (diff) | |
download | linux-8581d51055a08cc6eb061c8856062290e8582ce4.tar.xz linux-8581d51055a08cc6eb061c8856062290e8582ce4.zip |
drm: Free the writeback_job when it with an empty fb
Adds the check if the writeback_job with an empty fb, then it should
be freed in atomic_check phase.
With this change, the driver users will not check empty fb case any more.
So refined accordingly.
Signed-off-by: Lowry Li (Arm Technology China) <lowry.li@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@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-2-git-send-email-lowry.li@arm.com
Diffstat (limited to 'drivers/gpu/drm/drm_writeback.c')
0 files changed, 0 insertions, 0 deletions