]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn: during dpc recovery will corrupt VCPU buffer
authorCe Sun <cesun102@amd.com>
Tue, 31 Dec 2024 04:53:13 +0000 (12:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:31 +0000 (15:18 -0400)
commit969fd18c8d2491d9599176a9cca7e386f823144e
tree321e378c348cd226db9a319060bcdf7e55f212f6
parent8ba904f54148d2a093650b13a229d2ff18142f7d
drm/amdgpu/vcn: during dpc recovery will corrupt VCPU buffer

err_event_athub and dpc recovery will corrupt VCPU buffer,
so we need to restore fw data and clear buffer in amdgpu_vcn_resume()

Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c