]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix new dmub notification enabling in DM
authorStylon Wang <stylon.wang@amd.com>
Thu, 7 Jul 2022 08:23:29 +0000 (16:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jul 2022 14:04:59 +0000 (10:04 -0400)
commitee295aed81f7f209ff1b344a63d34c2115e31f68
treeb1711baf0a08f3ae3cebbc191f0aa08e2b8bf80f
parentc8d471def5457e0708531758573a49a23081fa16
drm/amd/display: Fix new dmub notification enabling in DM

[Why]
Changes from "Fix for dmub outbox notification enable" need to land
in DM or DMUB outbox notification would be disabled.

[How]
Enable outbox notification only after interrupt are enabled and IRQ
handlers registered. Any pending notification will be sent by DMUB
once outbox notification is enabled.

Fixes: 873bdc608fb6 ("drm/amd/display: Fix for dmub outbox notification enable")
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c