]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Improve compatibility by re-ordering info-packets
authorNaveed Ashfaq <Naveed.Ashfaq@amd.com>
Fri, 10 Jul 2020 20:50:50 +0000 (16:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jul 2020 19:37:39 +0000 (15:37 -0400)
commitc0c2cc5342275bc1d184ba23c6818601b8105c61
treeab9a403a69cf8d149b3cc0170396e13c08128c6c
parent7fa5d555ef4d54ea4ea4f7923ff33c26dfc69a7e
drm/amd/display: Improve compatibility by re-ordering info-packets

[why]
On DCN20, Some features would not be activated when ALLM was turned on.
TV seemed to activate only the latest info packet sent, and the ALLM
info packet was sent after the VSIF info packet.

The packet indices was also inconsistent between DCN10 and DCN20.

[how]
Change the packet indices of DCN20 to match those of DCN10.
This makes them consistent and also makes the vendor info packet
be sent after the hfvsif info packet.

Signed-off-by: Naveed Ashfaq <Naveed.Ashfaq@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@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/dcn20/dcn20_stream_encoder.c