]> asedeno.scripts.mit.edu Git - linux.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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:48 +0000 (23:39 -0500)
commitb05e2c5e81f9a0be4a145e0926b1dfe62f6347d4
treef5672b295684857adb22d0fe7b0124f3852641e6
parent3d5cc272319d6b7bf2e7d8aa9b1c3b0fe3e85b3f
drm/amd/display: Update ABM crtc state on non-modeset

[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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c