]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix DP link training issue with second 4K monitor
authorArindam Nath <arindam.nath@amd.com>
Wed, 4 May 2016 18:09:59 +0000 (23:39 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 15:14:18 +0000 (11:14 -0400)
commitf93d894b7cfc0388af1d76e735b8b1c967e03bda
treecf861b1e8439c09ddd0239149a1dcd73797abac4
parent84dcd5d08bff6636c803278c305e93fa14e38b85
drm/radeon: fix DP link training issue with second 4K monitor

There is an issue observed when we hotplug a second DP
4K monitor to the system. Sometimes, the link training
fails for the second monitor after HPD interrupt
generation.

The issue happens when some queued or deferred transactions
are already present on the AUX channel when we initiate
a new transcation to (say) get DPCD or during link training.

We set AUX_IGNORE_HPD_DISCON bit in the AUX_CONTROL
register so that we can ignore any such deferred
transactions when a new AUX transaction is initiated.

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_dp_auxch.c