drm/amd/display: polling vid stream status in hpo dp blank
[why] vid stream control is double bufferred, if we don't wait for video stream enable set to 0, we may get temporary image corruption showing on the stream when setting PIXEL_TO_SYMBOL_FIFO_ENABLE to 0. Reviewed-by: Ariel Bernstein <Eric.Bernstein@amd.com> Acked-by: Jasdeep Dhillon <jdhillon@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
5caa63c7b7
commit
e32df0c7ec
@@ -150,9 +150,9 @@ static void dcn31_hpo_dp_stream_enc_dp_blank(
|
|||||||
* 10us*5000=50ms. This covers 41.7ms of minimum 24 Hz mode +
|
* 10us*5000=50ms. This covers 41.7ms of minimum 24 Hz mode +
|
||||||
* a little more because we may not trust delay accuracy.
|
* a little more because we may not trust delay accuracy.
|
||||||
*/
|
*/
|
||||||
//REG_WAIT(DP_SYM32_ENC_VID_STREAM_CONTROL,
|
REG_WAIT(DP_SYM32_ENC_VID_STREAM_CONTROL,
|
||||||
// VID_STREAM_STATUS, 0,
|
VID_STREAM_STATUS, 0,
|
||||||
// 10, 5000);
|
10, 5000);
|
||||||
|
|
||||||
/* Disable SDP tranmission */
|
/* Disable SDP tranmission */
|
||||||
REG_UPDATE(DP_SYM32_ENC_SDP_CONTROL,
|
REG_UPDATE(DP_SYM32_ENC_SDP_CONTROL,
|
||||||
|
|||||||
Reference in New Issue
Block a user