drm/amdgpu: not to save bo in the case of RAS err_event_athub
authorDavid (Ming Qiang) Wu <David.Wu3@amd.com>
Thu, 14 Sep 2023 20:34:08 +0000 (16:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:19:39 +0000 (17:19 +0000)
commit0a810a3fc67ed4122c0d087af93db57049140636
treec75fe93d4429bdb04059cae8be372f017a5485bd
parent20c2d2c323bcdcd3c1e9fbf67a0f5e77cb094a14
drm/amdgpu: not to save bo in the case of RAS err_event_athub

[ Upstream commit fa1f1cc09d588a90c8ce3f507c47df257461d148 ]

err_event_athub will corrupt VCPU buffer and not good to
be restored in amdgpu_vcn_resume() and in this case
the VCPU buffer needs to be cleared for VCN firmware to
work properly.

Acked-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c