]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Update ABM crtc state on non-modeset
authorDavid Francis <David.Francis@amd.com>
Mon, 4 Mar 2019 15:31:31 +0000 (10:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:50 +0000 (06:43 -0700)
commit60b6c466a4284cf97de891e1fcf0ee444a34ac80
treed581cbf696fd20d3a20cb5b5012fbbcce3e1ad68
parent5ab2c21538a29a288af46744bb6135a0620ed5bd
drm/amd/display: Update ABM crtc state on non-modeset

[ Upstream commit b05e2c5e81f9a0be4a145e0926b1dfe62f6347d4 ]

[Why]
Somewhere in the atomic check reshuffle ABM got lost.
ABM is a crtc property (copied from a connector property).
It can change without a modeset, just like underscan.

[How]
In the skip_modeset branch of atomic check crtc updates,
copy over the abm property.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c