]> 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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 03:12:20 +0000 (23:12 -0400)
commit0f1bbcc2bab25d5fb2dfb1ee3e08131437690d3d
tree2419faf7d1f96a88e9111b111c26398309d264b1
parent4b18a91faf1752f9bd69a4ed3aed2c8f6e5b0528
drm/amdgpu/umsch: reinitialize write pointer in hw init

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
drivers/gpu/drm/amd/amdgpu/umsch_mm_v4_0.c