Jerry (Fangzhi) Zuo
8c9d90eebd
drm/amd/display: Fix MST dp_blank REG_WAIT timeout
Need to blank stream before deallocate MST payload.
[drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3000 tries - dce110_stream_encoder_dp_blank line:944
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2201 at /var/lib/dkms/amdgpu/18.50-690240/build/amd/amdgpu/../display/dc/dc_helper.c:249 generic_reg_wait+0xe7/0x160 [amdgpu]
Call Trace:
dce110_stream_encoder_dp_blank+0x11c/0x180 [amdgpu]
core_link_disable_stream+0x40/0x230 [amdgpu]
? generic_reg_update_ex+0xdb/0x130 [amdgpu]
dce110_reset_hw_ctx_wrap+0xb7/0x1f0 [amdgpu]
dce110_apply_ctx_to_hw+0x30/0x430 [amdgpu]
? dce110_apply_ctx_for_surface+0x206/0x260 [amdgpu]
dc_commit_state+0x2ba/0x4d0 [amdgpu]
amdgpu_dm_atomic_commit_tail+0x297/0xd70 [amdgpu]
? amdgpu_bo_pin_restricted+0x58/0x260 [amdgpu]
? wait_for_completion_timeout+0x1f/0x120
? wait_for_completion_interruptible+0x1c/0x160
commit_tail+0x3d/0x60 [drm_kms_helper]
drm_atomic_helper_commit+0xf6/0x100 [drm_kms_helper]
drm_atomic_connector_commit_dpms+0xe5/0xf0 [drm]
drm_mode_obj_set_property_ioctl+0x14f/0x250 [drm]
drm_mode_connector_property_set_ioctl+0x2e/0x40 [drm]
drm_ioctl+0x1e0/0x430 [drm]
? drm_mode_connector_set_obj_prop+0x70/0x70 [drm]
? ep_read_events_proc+0xb0/0xb0
? ep_scan_ready_list.constprop.18+0x1e6/0x1f0
? timerqueue_add+0x52/0x80
amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
do_vfs_ioctl+0x90/0x5f0
SyS_ioctl+0x74/0x80
do_syscall_64+0x74/0x140
entry_SYSCALL_64_after_hwframe+0x3d/0xa2
---[ end trace 3ed7b77a97d60f72 ]---
Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2018-12-20 12:13:35 -05:00
..
2018-12-20 12:13:35 -05:00
2018-11-24 22:12:54 +01:00
2018-11-02 09:57:27 +00:00
2018-09-09 14:19:18 +02:00
2018-11-29 10:34:03 +10:00
2018-11-01 15:24:22 +01:00
2018-11-19 11:07:52 +10:00
2018-11-24 22:12:55 +01:00
2018-11-22 12:54:38 +10:00
2018-12-13 10:06:34 +10:00
2018-12-05 17:35:21 +09:00
2018-11-01 15:23:58 +01:00
2018-08-27 10:00:03 -04:00
2018-11-05 14:21:21 -05:00
2018-10-04 10:32:14 +10:00
2018-07-03 15:00:42 +02:00
2018-12-07 11:23:05 +10:00
2018-11-05 14:56:04 +01:00
2018-10-28 17:49:53 -07:00
2018-12-03 11:12:09 +01:00
2018-11-05 14:21:21 -05:00
2018-12-11 13:10:19 -05:00
2018-11-24 22:12:54 +01:00
2018-12-11 15:38:01 +10:00
2018-11-12 11:50:13 +02:00
2018-12-03 17:04:48 +01:00
2018-11-28 09:31:07 -08:00
2018-12-13 10:06:34 +10:00
2018-12-07 17:53:44 -05:00
2018-11-29 16:36:09 +01:00
2018-11-19 14:59:50 +01:00
2018-07-04 14:27:01 +02:00
2018-12-05 17:56:16 -05:00
2018-12-11 15:19:42 +01:00
2018-11-24 22:12:54 +01:00
2018-11-13 12:07:18 +01:00
2018-10-25 17:00:28 +02:00
2018-12-04 08:46:28 +01:00
2018-12-06 18:58:32 +01:00
2018-11-01 15:25:41 +01:00
2018-12-04 15:57:42 +01:00
2018-12-07 17:53:44 -05:00
2018-11-24 22:12:54 +01:00
2018-10-23 15:59:01 +02:00
2018-12-07 11:23:05 +10:00
2018-12-05 11:01:11 +01:00
2018-11-05 15:31:51 +00:00
2018-11-29 16:12:50 +01:00
2018-12-04 11:47:27 +01:00
2018-12-13 10:06:34 +10:00
2018-07-23 11:47:35 +03:00
2018-10-05 18:04:10 +02:00
2018-12-07 11:23:05 +10:00
2018-11-30 16:37:52 +01:00
2018-12-06 13:43:56 +10:00
2018-12-05 10:00:35 +01:00
2018-09-11 11:21:30 +01:00
2018-09-13 11:28:12 +02:00
2018-10-17 09:17:33 +02:00
2018-11-20 14:56:18 +01:00
2018-11-29 10:48:31 -05:00
2018-12-06 13:29:09 +10:00
2018-09-14 17:29:47 +01:00
2018-10-05 18:04:10 +02:00
2018-09-10 07:10:36 +02:00
2018-12-07 11:23:05 +10:00
2018-12-11 15:20:13 +01:00
2018-08-22 09:50:16 -07:00
2018-11-22 09:52:27 +01:00
2018-10-11 10:52:35 +02:00
2018-11-27 15:30:34 -08:00
2018-11-19 10:40:33 +10:00
2018-11-29 10:28:49 +10:00
2018-11-27 18:35:17 -08:00
2018-11-02 10:58:20 -07:00
2018-09-14 17:29:47 +01:00
2018-11-19 10:40:33 +10:00
2018-11-29 10:34:03 +10:00
2018-07-10 14:51:37 +02:00
2018-11-20 16:20:13 +02:00
2018-11-02 09:58:10 +00:00
2018-11-20 14:57:25 +01:00
2018-11-02 09:55:27 +00:00
2018-11-20 14:56:18 +01:00
2018-11-22 09:52:27 +01:00
2018-09-21 11:19:40 +02:00
2018-09-14 17:29:47 +01:00
2018-11-19 10:40:33 +10:00
2018-09-14 17:29:47 +01:00
2018-10-16 14:39:25 +02:00
2018-07-25 07:51:05 -04:00
2018-12-06 13:43:56 +10:00
2018-11-01 18:54:05 +01:00
2018-10-01 10:16:39 +02:00
2018-10-05 18:06:49 +02:00
2018-11-29 10:48:31 -05:00
2018-07-13 18:40:28 +02:00
2018-11-15 10:55:30 +01:00
2018-10-04 11:03:34 +10:00
2018-10-23 15:59:01 +02:00
2018-10-05 22:45:19 +02:00
2018-11-29 10:48:31 -05:00
2018-11-22 15:44:05 +01:00
2018-07-30 08:49:41 -04:00
2018-07-13 18:40:27 +02:00
2018-09-14 17:29:47 +01:00
2018-09-14 17:29:47 +01:00
2018-10-30 13:01:50 -07:00
2018-12-05 11:01:11 +01:00
2018-09-14 17:29:47 +01:00
2018-09-04 19:00:32 +01:00
2018-07-16 16:35:27 +01:00
2018-10-03 21:08:21 +02:00
2018-12-06 13:43:56 +10:00