]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Clear encoder assignment for copied streams
authorJimmy Kizito <Jimmy.Kizito@amd.com>
Tue, 21 Sep 2021 14:03:05 +0000 (10:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:17:31 +0000 (17:17 -0400)
commit4915bd39b7c27d7ae6f85a05da21eb8766b53033
tree79727150ae0b923a805fab1e759be526944e1464
parenteb10b988416f30da51a787bc8abf4da20c86f9c7
drm/amd/display: Clear encoder assignment for copied streams

[Why]
When copying a stream, the encoder assigned to it is copied too.
Encoder assignment should only happen when executing the encoder
assignment function link_encs_assign().

[How]
Clear the link encoder pointer for copied stream.

Reviewed-by: Meenakshikumar Somasundaram <Meenakshikumar.Somasundaram@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c