]> 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, 30 Jul 2020 18:12:37 +0000 (14:12 -0400)
commite7b4ca86635a2f0291bff7d1b9b10ffc16c5b965
tree620a62f45b3a0a98482de6db3d20bdc63c376ceb
parent97ddc4be70f11bf2c9bcf4fe49e06d5c4b47ea5e
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