commit | 5200c4017ef25f85634012a967c78ff64495dd85 | [log] [tgz] |
---|---|---|
author | Martin Leung <martin.leung@amd.com> | Wed Dec 02 15:10:12 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Dec 15 11:34:17 2020 -0500 |
tree | 681bb8c1cc684f7cce842884153da60ec333d309 | |
parent | 09b07f7a188f3b52e7f7c778ab3b4e4aa4e9677a [diff] |
drm/amd/display: delay fp2 programming until vactive before lock [Why] race condition of programming FP2 wrt pipe locking and vactive state can cause underflow/black screen [How] Enforce the FP2 is only programmed during vactive, and unlock pipe soon afterwards. Signed-off-by: Martin Leung <martin.leung@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>