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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2023 21:00:23 +0000 (17:00 -0400)
commitfa1f1cc09d588a90c8ce3f507c47df257461d148
tree606f49a986d802f7a16149f53c69bd6aee246d0c
parent9ed630c5c4b3d3d6e333ae629c1a9c4be6745f74
drm/amdgpu: not to save bo in the case of RAS err_event_athub

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