]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: enable DPG when disabling plane for phantom pipe
authorSamson Tam <samson.tam@amd.com>
Fri, 27 Jan 2023 23:30:08 +0000 (18:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Feb 2023 21:03:27 +0000 (16:03 -0500)
commitd47d2f9392f69f069c31d60ac3088471b1e1c7d4
tree9e94e10a518f2a7dd42dd5d8f71eb3a4a1b52327
parentce05ca0a37e1f27465edee3d14a24ba2bd4bd3e9
drm/amd/display: enable DPG when disabling plane for phantom pipe

[Why]
In disable_dangling_plane, for phantom pipes, we enable OTG so
disable programming gets the double buffer update.  But this
causes an underflow to occur.

[How]
Enable DPG prior to enabling OTG.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c