OSDN Git Service

drm/amd/display: Reinit DPG when exiting dynamic ODM
authorDillon Varone <Dillon.Varone@amd.com>
Mon, 17 Oct 2022 22:51:15 +0000 (18:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Nov 2022 15:46:47 +0000 (11:46 -0400)
commit7fbf451e7639f4ce41e2e3e802e5c521c1827b48
tree731fa4fcc7acbd41bdf36a5da320d4f6e2990fbc
parent26f2fe8608374e3dda39d01a6acd42d1f67b8ee1
drm/amd/display: Reinit DPG when exiting dynamic ODM

[WHY]
DPG must be returned to initialized state when pipe is disabled.

[HOW]
Reinit DPG on unused pipes when exiting dynamic ODM.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c