linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
bios drm/amd/display: Add functionality to get XGMI SS info 2018-12-18 17:39:56 -05:00
calcs drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part4 2018-11-05 14:21:41 -05:00
core drm/amd/display: Fix MST dp_blank REG_WAIT timeout 2018-12-20 12:13:35 -05:00
dce drm/amd/display: Raise dispclk value for Polaris 2018-12-18 17:39:35 -05:00
dce80 drm/amd/display: Remove duplicate header 2018-11-26 15:54:40 -05:00
dce100 drm/amd/display: Allow clock lower on dce100 2018-11-30 12:03:37 -05:00
dce110 drm/amd/display: fix YCbCr420 blank color 2018-12-18 18:25:11 -05:00
dce112 drm/amd/display: rename dccg to clk_mgr 2018-11-05 14:20:48 -05:00
dce120 drm/amd/display: rename dccg to clk_mgr 2018-11-05 14:20:48 -05:00
dcn10 drm/amd/display: fix surface update sequence 2018-12-18 18:25:11 -05:00
dml drm/amd/display: fix dml max voltage state 2018-11-05 14:21:33 -05:00
gpio drm/amd/display: Add DCE_VERSION_12_1 enum for Vega 20 2018-12-18 17:39:49 -05:00
i2caux drm/amd/display: Add DCE_VERSION_12_1 enum for Vega 20 2018-12-18 17:39:49 -05:00
inc drm/amd/display: fbc state could not reach while enable fbc 2018-11-30 12:02:35 -05:00
irq Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
virtual drm/amd/display: Pass signal directly to enable_tmds_output 2018-03-07 16:27:20 -05:00
dc_bios_types.h drm/amd/display: Add condition to sync eDP SW status and HW status 2018-11-05 14:21:45 -05:00
dc_ddc_types.h drm/amd/display: Move i2c and aux structs into dc_ddc_types.h 2018-06-15 12:23:38 -05:00
dc_dp_types.h drm/amd/display: Write TEST_EDID_CHECKSUM_WRITE for EDID tests 2018-06-15 12:22:09 -05:00
dc_helper.c drm/amd/display: Warn instead of error on REG_WAIT timeout 2018-12-18 18:25:10 -05:00
dc_hw_types.h drm/amd/display: move AYCrCb8888 format to video section 2018-12-18 18:25:10 -05:00
dc_link.h drm/amd/display: Start documentation of DC 2018-11-30 12:01:56 -05:00
dc_stream.h drm/amd/display: Program dithering if requested 2018-11-30 12:03:13 -05:00
dc_types.h drm/amd/display: Add tracing to dc 2018-12-05 17:49:49 -05:00
dc.h drm/amd/display: 3.2.08 2018-11-30 12:04:29 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Add hook for MST root branch info 2018-07-16 16:11:49 -05:00
dm_pp_smu.h drm/amd/display: Clean up for DCN1 clock debug logging 2018-11-30 12:04:45 -05:00
dm_services_types.h drm/amd/display: Fix some backlight variable styling 2018-11-05 14:21:39 -05:00
dm_services.h drm/amd/display: Add tracing to dc 2018-12-05 17:49:49 -05:00
irq_types.h drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
Makefile Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
os_types.h amd-gpu: Don't undefine READ and WRITE 2018-10-24 00:36:12 +01:00