On Thu, Jun 01, 2023 at 10:59:52PM -0500, Mario Limonciello wrote:
From: Fangzhi Zuo jerry.zuo@amd.com
At drm suspend sequence, MST dc_sink is removed. When commit cached MST stream back in drm resume sequence, the MST stream payload is not properly created and added into the payload table. After resume, topology change is reprobed by removing existing streams first. That leads to no payload is found in the existing payload table as below error "[drm] ERROR No payload for [MST PORT:] found in mst state"
- In encoder .atomic_check routine, remove check existance of dc_sink
- Bypass MST by checking existence of MST root port. dc_link_type cannot
differentiate MST port before topology is rediscovered.
Reviewed-by: Wayne Lin wayne.lin@amd.com Acked-by: Tom Chung chiahsuan.chung@amd.com Signed-off-by: Fangzhi Zuo jerry.zuo@amd.com Tested-by: Daniel Wheeler daniel.wheeler@amd.com Signed-off-by: Alex Deucher alexander.deucher@amd.com Cc: stable@vger.kernel.org (cherry picked from commit 52b112049e1da404828102ccb5b39e92d40f06d4)
This isn't a commit in Linus's tree, where did it come from?
Do you mean 482e6ad9adde69d9da08864b4ccf4dfd53edb2f0?
I'm guessing so, so I'll use that when I commit this, thanks.
greg k-h