]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp_mst: Zero assigned PBN when releasing VCPI slots
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 7 Apr 2020 16:07:17 +0000 (12:07 -0400)
committerLyude Paul <lyude@redhat.com>
Fri, 17 Apr 2020 22:25:28 +0000 (18:25 -0400)
commit089d15bb603d9f76dffb63cb8cf4cd855b59fd78
tree3a43d0674bcdf95bdcab62ff38e784ceb39103a7
parent95bf5c53ace322b6755464726955abd6ae49a670
drm/dp_mst: Zero assigned PBN when releasing VCPI slots

Zero Port's PBN together with VCPI slots when releasing
allocated VCPI slots. That way when disabling the connector
it will not cause issues in drm_dp_mst_atomic_check verifying
branch bw limit.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Fixes: e938fdf04b92 ("drm/dp_mst: Add branch bandwidth validation to MST atomic check")
Cc: <stable@vger.kernel.org> # v5.6+
Link: https://patchwork.freedesktop.org/patch/msgid/20200407160717.27976-1-mikita.lipski@amd.com
drivers/gpu/drm/drm_dp_mst_topology.c