]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix mqd corruption for gfx12
authorFrank Min <Frank.Min@amd.com>
Tue, 30 Apr 2024 13:37:45 +0000 (21:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 20:12:02 +0000 (16:12 -0400)
commitb61467778e69c8e7e43dff9d1e2e8940c5df42fa
treee89b356b55015b68360545a260d1aba05edcf551
parentef168e6de96531a2aa1b0ba77f07c7c56791d418
drm/amdgpu: fix mqd corruption for gfx12

1. restore mqd from backup while resuming
2. use copy_toio and copy_fromio while mqd in vram

Signed-off-by: Frank Min <Frank.Min@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c