summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorYifan Zhang <yifan1.zhang@amd.com>2026-05-11 17:14:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 18:45:41 +0300
commit70cadefcc6160c575b04f763ada34c20e868d577 (patch)
treeade504a592bf74d5a40441afacd3678cf2ce77ca /include/uapi/linux
parent633d6d808d56b73c5455f17f3b082f4c26b38d5f (diff)
downloadlinux-70cadefcc6160c575b04f763ada34c20e868d577.tar.xz
drm/amdgpu: unmap all user mappings of framebuffer and doorbell before mode1 reset
During Mode 1 reset, the ASIC undergoes a reset cycle and becomes temporarily inaccessible via PCIe. Any attempt to access framebuffer or MMIO registers during this window can result in uncompleted PCIe transactions, leading to NMI panics or system hangs. To prevent this, Unmap all of the applications mappings of the framebuffer and doorbell BARs before mode1 reset. Also prevent new mappings from coming in during the reset process. v2: remove inode in kfd_dev (Christian) v3: correct unmap offset (Felix), remove prevent new mappings part to avoid deadlock (Christian) Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions