]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Release DSC before acquiring
authorMikita Lipski <mikita.lipski@amd.com>
Thu, 14 Jan 2021 16:48:57 +0000 (11:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:10:30 +0000 (12:10 -0500)
commit5474a1ef7e9b505a213cee5b3c57dafa6c23e15b
tree6f2c212e01615aa341790767d7d7a97ed86448a6
parentac985f12ca83bc926d93a372111c5463ef0e60c2
drm/amd/display: Release DSC before acquiring

[why]
Need to unassign DSC from pipes that are not using it
so other pipes can acquire it. That is needed for
asic's that have unmatching number of DSC engines from
the number of pipes.

[how]
Before acquiring dsc to stream resources, first remove it.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Eryk Brol <Eryk.Brol@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c