1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Drop unnecessary header 2024-02-22 10:26:08 -05:00
bios drm for 6.10-rc1 2024-05-15 09:43:42 -07:00
clk_mgr drm for 6.10-rc1 2024-05-15 09:43:42 -07:00
core drm for 6.10-rc1 2024-05-15 09:43:42 -07:00
dce drm/amd/display: Remove unnecessary code 2024-04-16 21:51:54 -04:00
dce60 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce80 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce110 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce112 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce120 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dcn10 drm/amd/display: Rework dcn10_stream_encoder header 2024-04-16 22:39:15 -04:00
dcn20 drm/amd/display: Add missing debug registers for DCN2/3/3.1 2024-04-26 17:22:40 -04:00
dcn21 drm/amd/display: Modify DHCUB waterwark structures and functions 2024-03-27 01:43:28 -04:00
dcn30 drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dcn31 drm/amd/display: Handle Y carry-over in VCP X.Y calculation 2024-04-30 21:26:04 -04:00
dcn32 drm/amd/display: Adjust registers sequence in the DIO list 2024-04-26 17:22:45 -04:00
dcn35 drm/amd/display: Add some HDCP registers DCN35 list 2024-04-26 17:22:45 -04:00
dcn201 drm/amd/display: Update DCN201 link encoder registers 2024-04-16 22:39:15 -04:00
dcn301 drm/amd/display: Remove duplicated function signature from dcn3.01 DCCG 2024-04-26 17:22:40 -04: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: Refactor INIT into component folder 2024-01-03 10:47:29 -05:00
dcn321 drm/amd/display: Code style adjustments 2024-04-26 17:22:45 -04:00
dml drm/amd/display: change dram_clock_latency to 34us for dcn35 2024-06-19 14:17:25 -04:00
dml2 drm/amd/display: use ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:19 -07:00
dpp drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
dsc drm/amd/display: Fix division by zero in setup_dsc_config 2024-04-26 17:22:40 -04:00
gpio drm/amd/display: Fix uninitialized variables in DC 2024-04-26 17:22:44 -04:00
hdcp drm/amd/display: Drop unnecessary header 2024-02-22 10:26:08 -05:00
hwss drm/amd/display: Attempt to avoid empty TUs when endpoint is DPIA 2024-06-19 14:17:25 -04:00
inc drm/amd/display: Clean up code in DC 2024-04-26 17:22:45 -04:00
irq drm/amd/display: Check pipe offset before setting vblank 2024-04-26 17:22:44 -04:00
link drm for 6.10-rc1 2024-05-15 09:43:42 -07:00
optc Revert "drm/amd/display: Add fallback configuration when set DRR" 2024-04-26 17:22:38 -04:00
resource drm for 6.10-rc1 2024-05-15 09:43:42 -07:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc.h drm/amd/display: 3.2.281 2024-04-16 22:39:15 -04:00
dc_bios_types.h drm/amd/display: Pass pwrseq inst for backlight and ABM 2023-12-06 15:22:33 -05:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: Add driver support for future FAMS versions 2024-04-09 22:15:26 -04:00
dc_dmub_srv.h drm/amd/display: Add driver support for future FAMS versions 2024-04-09 22:15:26 -04:00
dc_dp_types.h drm/amd/display: expand the non standard link rate for testing 2024-04-09 22:15:52 -04:00
dc_dsc.h drm/amd/display: Add link encoding to timing BW calculation parameters 2023-07-18 11:15:51 -04:00
dc_edid_parser.c drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_edid_parser.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_hdmi_types.h drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in 2023-03-22 00:47:59 -04:00
dc_helper.c drm/amd/display: Wake DMCUB before sending a command 2023-12-19 14:59:02 -05:00
dc_hw_types.h drm/amd/display: add support for chroma offset 2024-04-16 21:24:08 -04:00
dc_plane.h drm/amd/display: Refactor DML2 interfaces 2024-03-27 01:36:37 -04:00
dc_plane_priv.h drm/amd/display: Add driver support for future FAMS versions 2024-04-09 22:15:26 -04:00
dc_stat.h drm/amd/display: DMUB Outbound Interrupt Process-X86 2021-07-08 15:14:36 -04:00
dc_state.h drm/amd/display: Add handling for DC power mode 2024-04-09 22:04:51 -04:00
dc_state_priv.h drm/amd/display: Refactor DML2 interfaces 2024-03-27 01:36:37 -04:00
dc_stream.h drm/amd/display: Add handling for DC power mode 2024-04-09 22:04:51 -04:00
dc_stream_priv.h drm/amd/display: Refactor phantom resource allocation 2023-12-19 14:59:02 -05:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: Add missing replay field 2024-04-16 22:39:15 -04:00
dm_cp_psp.h drm/amd/display: Trivial code style adjustment 2024-02-07 12:26:23 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Code style adjustments 2024-04-26 17:22:45 -04:00
dm_pp_smu.h drm/amd/pm: support return vpe clock table 2023-12-14 15:25:59 -05:00
dm_services.h drm/amd/display: Add dummy interface for tracing DCN32 SMU messages 2024-04-09 22:03:13 -04:00
dm_services_types.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
irq_types.h drm/amd/display: Correct enum typo 2023-10-26 18:59:56 -04:00
Makefile drm/amd/display: Refactor DPP into a component directory 2024-03-20 13:37:37 -04:00
os_types.h drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00