]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Do DIO FIFO enable after DP video stream enable
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 7 Sep 2022 14:11:34 +0000 (10:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2022 21:55:44 +0000 (17:55 -0400)
commitaa8d115274137fcf235313307cbc1c902f0934fd
tree140d113cca74ec639a45c4f5f5888a4935ad7508
parentd5bdabd1eb4853ffd334fb426e75f743e3c93b00
drm/amd/display: Do DIO FIFO enable after DP video stream enable

[Why]
Avoids a race condition where DIO FIFO can underflow due to no incoming
data available.

[How]
Shift the FIFO enable below stream enable.

Make sure fullness level is written before the DIO reset takes place
and that we're not doing it twice.

Reviewed-by: Syed Hassan <Syed.Hassan@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c