diff options
| author | 2021-11-09 16:03:21 -0500 | |
|---|---|---|
| committer | 2021-11-24 14:06:52 -0500 | |
| commit | 6d63fcc2a334f7bd15e4e9b1db50a19335d2af4f (patch) | |
| tree | 0c86894a7254b06e27159fba0ebe35b30ef563ff /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amd/display: fixed an error related to 4:2:0/4:2:2 DSC (diff) | |
| download | linux-dev-6d63fcc2a334f7bd15e4e9b1db50a19335d2af4f.tar.xz linux-dev-6d63fcc2a334f7bd15e4e9b1db50a19335d2af4f.zip | |
drm/amd/display: Reset link encoder assignments for GPU reset
[Why]
A warning appears in the log on GPU reset for
link_enc_cfg_link_encs_assign for the following condition:
ASSERT(state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid == false);
This is not expected behavior and may result in link encoders being
incorrectly assigned.
[How]
The dc->current_state is backed up into dm->cached_dc_state before
we commit 0 streams.
DC will clear link encoder assignments on the real state but the
changes won't propagate over to the copy we made before the
0 streams commit.
DC expects that link encoder assignments are *not* valid
when committing a state, so as a workaround it needs to be cleared
before passing it back into DC.
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
