linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: prevent register access while in IPS 2024-06-19 14:17:25 -04:00
dc drm/amd/display: Attempt to avoid empty TUs when endpoint is DPIA 2024-06-19 14:17:25 -04:00
dmub drm/amd/display: Expand dmub_cmd operations 2024-04-16 21:25:37 -04:00
include drm/amd/display: Remove redundant include file 2024-04-26 17:22:44 -04:00
modules drm/amd/display: Check index msg_id before read or write 2024-04-26 17:22:43 -04:00
Kconfig drm/amd/display: use ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:19 -07:00
Makefile drm/amd/display: Refactor DPP into a component directory 2024-03-20 13:37:37 -04:00