]> 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)
commitc5326ea2ac2b46e07303e192bd26f84801d4d39d
tree29d68bb80a8d170e110d323ef79501dcabd98935
parenteb95b8a217b2039b3fe0768fad3a44b397178d6b
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