]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Tue, 30 Aug 2022 21:00:21 +0000 (17:00 -0400)
commit3e834a17a22cb8e9169c0b018d1a2df126977db3
tree839c4f172a72a2df9e1463af52f75a7b293443cb
parent3c93603d9568c7c4b20ff1712ddc60e997d78df7
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