]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/display: fix MPO HUBP underflow with Scatter Gather
authorZi Yu Liao <ziyu.liao@amd.com>
Tue, 30 Jul 2019 19:36:53 +0000 (15:36 -0400)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:26:19 +0000 (04:26 -0400)
commit37168ff37f858595007a3e0cc7fa3a060b3ea31c
treefb11929acacf6df76b1ba695cafd1ba1d4cb2b81
parent5dc60b5ced4fa9c9513068c4debbf02c04703f0f
drm/amd/display: fix MPO HUBP underflow with Scatter Gather

BugLink: https://bugs.launchpad.net/bugs/1848047
[ Upstream commit 89cb5614736b9b5d3b833ca2237d10da6b4b0395 ]

[why]
With Scatter Gather enabled, HUBP underflows during MPO enabled video
playback. hubp_init has a register write that fixes this problem, but
the register is cleared when HUBP gets power gated.

[how]
Make a call to hubp_init during enable_plane, so that the fix can
be applied after HUBP powers back on again.

Signed-off-by: Zi Yu Liao <ziyu.liao@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c