drm/amdgpu/vcn3.0: remove old DPG workaround
authorBoyuan Zhang <boyuan.zhang@amd.com>
Tue, 19 May 2020 15:38:44 +0000 (11:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Dec 2020 12:22:08 +0000 (13:22 +0100)
commitc725702528bb3627ff1f3c44b10d4c79cbfa1d9b
tree91656f02af179296e1a7a42f9902f18b74a8cc11
parente2731a93ad16204e890f52c6a773b526550e097a
drm/amdgpu/vcn3.0: remove old DPG workaround

commit efd6d85a18102241538dd1cc257948a0dbe6fae6 upstream.

Port from VCN2.5
SCRATCH2 is used to keep decode wptr as a workaround
which fix a hardware DPG decode wptr update bug for
vcn2.5 beforehand.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.9.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c