]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Poll pending down rep before clear payload allocation table
authorMartin Tsai <martin.tsai@amd.com>
Thu, 10 Jan 2019 05:05:15 +0000 (13:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Jan 2019 16:43:46 +0000 (11:43 -0500)
commitc8b4a6d7be9a40e5b963e6a9e13490c679d6b299
treef19d4792ed754bf2545d46a2c48ce4b40b872f18
parentc4e557b1b57e77452593ef6fb39413b8b2268b56
drm/amd/display: Poll pending down rep before clear payload allocation table

[Why]
On current design, driver cannot handle the interrupt for
down reply when link training is processing. The DOWN REQ
send before link training will keep in the pending DOWN REP
state in the queue.
It makes the next DOWN REQ be queued until time out.

[How]
To add a polling sequence before clear payload allocation table
to make sure the pending DOWN REP can be handled.

Signed-off-by: Martin Tsai <martin.tsai@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dm_helpers.h