drm/amd/display: set dig fifo read start level to 7 before dig fifo reset
authorWang Fudong <Fudong.Wang@amd.com>
Wed, 17 Aug 2022 09:47:50 +0000 (17:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:45:44 +0000 (17:45 -0400)
commit29bec1c43d7de6af60a34e08205db3b7c6048cef
tree2205c1ca3ef8b1729811d94bbd515130e8912d93
parent2581c5d85e31c96dee352a751dbce17c1b71b417
drm/amd/display: set dig fifo read start level to 7 before dig fifo reset

[Why]
DIG_FIFO_ERROR = 1 caused mst daisy chain 2nd monitor black.

[How]
We need to set dig fifo read start level = 7 before dig fifo reset during dig
fifo enable according to hardware designer's suggestion. If it is zero, it will
cause underflow or overflow and DIG_FIFO_ERROR = 1.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Wang Fudong <Fudong.Wang@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/dcn32/dcn32_dio_stream_encoder.c