]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Free atomic state after drm_atomic_commit
authorVictor Lu <victorchengchi.lu@amd.com>
Thu, 14 Jan 2021 21:27:07 +0000 (16:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:11:55 +0000 (12:11 -0500)
commitfe48902015538a05c6a9865aa3ecfe14ab973562
tree4b1354d066da64a3c46d7beda427667a42db60ef
parentfa9ffcceee449a677b653593eec008c3c718895a
drm/amd/display: Free atomic state after drm_atomic_commit

[why]
drm_atomic_commit was changed so that the caller must free their
drm_atomic_state reference on successes.

[how]
Add drm_atomic_commit_put after drm_atomic_commit call in
dm_force_atomic_commit.

Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c