diff options
author | Jimmy Kizito <[email protected]> | 2021-11-04 16:52:14 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-17 16:58:10 -0500 |
commit | 7a47c8820a1d97e6cb5bcef6b65529f1389b0e13 (patch) | |
tree | 428277b8031b87e28161057c10f0851f566ddd79 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | aadb06f9c9729ee3af1543f54da966644ebc5be7 (diff) |
drm/amd/display: Initialise encoder assignment when initialising dc_state
[Why]
Link encoder assignment tracking variables need to be (re)initialised
whenever dc_state is (re)initialised. Otherwise variables used for
dynamic encoder assignment (especially the link encoder availability
pool) are out of sync with dc_state and future encoder assignments are
invalid.
[How]
Initialise encoder assignment variables when creating new dc_state
resource.
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Anson Jacob <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Jimmy Kizito <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions