]> 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 22:09:07 +0000 (18:09 -0400)
commitd89bc228dafc73132ce1480f276b0337b4231f6a
treef6abc22f1c8a36f72c4e5416d4688b479e3419c0
parent37f323a0b586788cb460107ed29ebb84782d9ce4
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