]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu/umsch: reinitialize write pointer in hw init
authorLang Yu <Lang.Yu@amd.com>
Mon, 25 Mar 2024 05:24:31 +0000 (13:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:23:38 +0000 (11:23 +0200)
commitde20c0d88b9513b43035a135711ab017fd1408e2
tree80f7c62254f364c8a40442fdda1e38cef9eb24b8
parent2ce20f2d430c053fcdd7a0761d758819bd15cdcd
drm/amdgpu/umsch: reinitialize write pointer in hw init

commit 0f1bbcc2bab25d5fb2dfb1ee3e08131437690d3d upstream.

Otherwise the old one will be used during GPU reset.
That's not expected.

Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c