]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix dmesg warning from setting abm level
authorStylon Wang <stylon.wang@amd.com>
Tue, 30 Jun 2020 09:55:29 +0000 (17:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:39:42 +0000 (16:39 -0400)
commit964289cb650c76724cce5194d0c23b09f5de6dba
tree4970e82cd124ce778bb1fdf396ef8525fde9a373
parent4384aee2dd098818ee582cc56e9d79e2749bb85a
drm/amd/display: Fix dmesg warning from setting abm level

[Why]
Setting abm level does not correctly update CRTC state. As a result
no surface update is added to dc stream state and triggers warning.

[How]
Correctly update CRTC state when setting abm level property.

CC: Stable <stable@vger.kernel.org>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c