diff options
| author | 2021-11-08 13:33:12 -0500 | |
|---|---|---|
| committer | 2021-11-22 14:59:13 -0500 | |
| commit | 85fb8bb9d4a5bae9d1abd0d21550517a40ba81e9 (patch) | |
| tree | 02282c361b0cd42400e07caa22b704dc432ceb77 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amd/display: based on flag reset z10 function pointer (diff) | |
| download | linux-dev-85fb8bb9d4a5bae9d1abd0d21550517a40ba81e9.tar.xz linux-dev-85fb8bb9d4a5bae9d1abd0d21550517a40ba81e9.zip | |
drm/amd/display: Run full global validation in dc_commit_state
[Why]
Dynamic link encoder assignment expects that it can modify DC
current_state and the links associated with the incoming state when
performing full validation.
This does not align with our actual synchronization constraints
in DM's atomic_check.
[How]
Since link encoder assignment only happens as part of full validation
we can just use fast validation as part of atomic_check instead.
This satisfy's DC interface requirements and skips the DML calculations
needed for pipe programming - hopefully speeding up things a little bit
to offset the cost of double validation during stream modification.
We already do this as part of dc_commit_updates_for_stream()
with validate_bandwidth(), so extend this to dc_commit_state() as
well.
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
