drm/amd/display: Fix new dmub notification enabling in DM
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2107633
Upstream Status: v5.19-rc8
commit 2d4bd81fea1ad6ebba543bd6da3ef5179d130e6a
Author: Stylon Wang stylon.wang@amd.com
AuthorDate: Thu Jul 7 16:23:29 2022 +0800
Commit: Alex Deucher alexander.deucher@amd.com
CommitDate: Fri Jul 15 10:04:59 2022 -0400
[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: ed7208706448 ("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
Signed-off-by: Mika Penttilä mpenttil@redhat.com
Edited by Mika Penttilä