]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Switch to immediate mode for updating infopackets
authorAnthony Koo <Anthony.Koo@amd.com>
Wed, 29 Jul 2020 21:43:10 +0000 (17:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Aug 2020 21:26:52 +0000 (17:26 -0400)
commit7c7a0e8adde7ffe87deffe54613e5c8d1b66b2a8
tree59330d07811389c4ab39b33bfb05543e8c7596d0
parent72d93e61b21aa93da7d8d0653eeebfe32cf413b9
drm/amd/display: Switch to immediate mode for updating infopackets

[Why]
Using FRAME_UPDATE will result in infopacket to be potentially updated
one frame late.
In commit stream scenarios for previously active stream, some stale
infopacket data from previous config might be erroneously sent out on
initial frame after stream is re-enabled.

[How]
Switch to using IMMEDIATE_UPDATE mode

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Ashley Thomas <Ashley.Thomas2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h