]> Git Repo - linux.git/commit
drm/amd/display: Fix DMUB outbox trace in S4 (#4465)
authorHung, Cruise <[email protected]>
Fri, 13 May 2022 01:16:42 +0000 (09:16 +0800)
committerAlex Deucher <[email protected]>
Wed, 1 Jun 2022 19:56:48 +0000 (15:56 -0400)
commit6ecf9773a5030aa4932096754bacff20e1b944b8
treecb7db050c7728408b4f0adb04a5213f0ded0ba99
parent92909cde3235f894d7cdf59709d86e9b22f897ce
drm/amd/display: Fix DMUB outbox trace in S4 (#4465)

[Why]
DMUB Outbox0 read/write pointer not sync after resumed from S4.
And that caused old traces were sent to outbox.

[How]
Disable DMUB Outbox0 interrupt
and clear DMUB Outbox0 read/write pointer when resumes from S4.
And then enable Outbox0 interrupt before starts DMCUB.

Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Jasdeep Dhillon <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Cruise Hung <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c
This page took 0.057222 seconds and 4 git commands to generate.