]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix access timeout to DPIA AUX at boot time
authorStylon Wang <stylon.wang@amd.com>
Mon, 24 Oct 2022 07:36:16 +0000 (15:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 18:05:43 +0000 (13:05 -0500)
commit09fb7b9d3d343a88de716678e39dfc0ab09a16f1
tree6708ed8557853d82ef9e409f194ac4bb95740fde
parent59824b7e5e72b17765bc144691eed6a4dbb96e71
drm/amd/display: Fix access timeout to DPIA AUX at boot time

[Why]
Since introduction of patch "Query DPIA HPD status.", link detection at
boot could be accessing DPIA AUX, which will not succeed until
DMUB outbox messaging is enabled and results in below dmesg logs:

[  160.840227] [drm:amdgpu_dm_process_dmub_aux_transfer_sync [amdgpu]] *ERROR* wait_for_completion_timeout timeout!

[How]
Enable DMUB outbox messaging before link detection at boot time.

Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0.x
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c