1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/hwss
Michael Strauss c03d770c0b drm/amd/display: Attempt to avoid empty TUs when endpoint is DPIA
[WHY]
Empty SST TUs are illegal to transmit over a USB4 DP tunnel.
Current policy is to configure stream encoder to pack 2 pixels per pclk
even when ODM combine is not in use, allowing seamless dynamic ODM
reconfiguration. However, in extreme edge cases where average pixel
count per TU is less than 2, this can lead to unexpected empty TU
generation during compliance testing. For example, VIC 1 with a 1xHBR3
link configuration will average 1.98 pix/TU.

[HOW]
Calculate average pixel count per TU, and block 2 pixels per clock if
endpoint is a DPIA tunnel and pixel clock is low enough that we will
never require 2:1 ODM combine.

Cc: stable@vger.kernel.org # 6.6+
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-06-19 14:17:25 -04:00
..
dce drm/amd/display: Enable DCN clock gating for DCN35 2023-11-17 09:30:50 -05:00
dce80 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce100 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce110 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dce112 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce120 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dcn10 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn20 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn21 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn30 drm/amd/display: use mpcc_count to log MPC state 2024-04-26 17:22:40 -04:00
dcn31 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn32 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn35 drm/amd/display: Attempt to avoid empty TUs when endpoint is DPIA 2024-06-19 14:17:25 -04:00
dcn201 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn301 drm/amd/display: Refactor INIT into component folder 2024-01-03 10:47:29 -05:00
dcn302 drm/amd/display: Refactor INIT into component folder 2024-01-03 10:47:29 -05:00
dcn303 drm/amd/display: Refactor INIT into component folder 2024-01-03 10:47:29 -05:00
dcn314 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn351 drm/amd/display: Rework power sequence and resource allocation logic 2024-04-16 21:24:52 -04:00
hw_sequencer.h drm/amd/display: Add driver support for future FAMS versions 2024-04-09 22:15:26 -04:00
hw_sequencer_private.h drm/amd/display: Toggle additional RCO options in DCN35 2024-04-09 21:59:07 -04:00
Makefile drm/amd/display: Modify power sequence 2024-04-12 00:36:40 -04:00