]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:07:45 +0000 (13:07 +0200)
commitbab191af99bd97db80ba19aafeea8081949bbe53
tree1d302a93da0a3a55eb583eb2dddd16212c50d1b4
parentbac04cf4ea5cd6819828b33567f23431e2468708
drm/amd/display: Fix dmesg warning from setting abm level

commit c5892a10218214d729699ab61bad6fc109baf0ce upstream.

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c