Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Reduce SubVP + DRR stretch margin

[Description]
- Having excessively large margin causes failure in the static
schedulability check in some cases for SubVP + DRR
- 100us of DRR margin is sufficient based on a weeks worth of
stress testing on different display configs

Reviewed-by: Michael Strauss <Michael.Strauss@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Alvin Lee and committed by
Alex Deucher
c4edb013 d11dfbec

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/dc_stream.h
··· 144 144 unsigned int cust_pattern_size; 145 145 }; 146 146 147 - #define SUBVP_DRR_MARGIN_US 600 // 600us for DRR margin (SubVP + DRR) 147 + #define SUBVP_DRR_MARGIN_US 100 // 100us for DRR margin (SubVP + DRR) 148 148 149 149 enum mall_stream_type { 150 150 SUBVP_NONE, // subvp not in use