]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix seamless boot stream adding algorithm
authorRaymond Yang <rayyang@amd.com>
Thu, 17 Dec 2020 01:24:30 +0000 (09:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:44:06 +0000 (23:44 -0500)
commitc41327477f563384beca32fc9b5f409cd71322c5
tree29d68bb80a8d170e110d323ef79501dcabd98935
parent0aa3e435a9ff2b5718eb8db534d0aca465b30f8f
drm/amd/display: fix seamless boot stream adding algorithm

[Why]
Seamless boot stream has hw resource assigned, already.  'add' is
actually rebuild the assignment.

[How]
Swap seamless boot stream to pipe 0 (if needed) to ensure pipe_ctx
matches

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Raymond Yang <rayyang@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c