]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix issue related to infopacket was not transmitted
authorAnthony Koo <Anthony.Koo@amd.com>
Wed, 11 Apr 2018 17:19:56 +0000 (13:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:08 +0000 (13:44 -0500)
commitd7c1af87e9777bdbfd31456d487329aca1dff849
tree05979b2b28195f6917744aa91d28529db5012020
parent0663987118581623423a798e140164d5daf5f66b
drm/amd/display: fix issue related to infopacket was not transmitted

Check in code was incorrect, and infopacket is only transmitted after update
function is called multiple times.
Purpose of the function was to check if infopackets are being enabled, and
then enable global control. Fix the code to do this.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c