CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/11/19 01:53:14
Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_device.c
Log message:
The conversion of the IO BAR access did not completely mirror the
behaviour of Linux' implementation: arm64's bus space operations
have no barriers, so while Linux' iowrite32/ioread32 explicitly
contain barriers, using bus space read/write is not enough on arm64.
Add read barriers after a read to make sure that all reads have
completed before the following reads. Add write barriers before a
write to make sure all previous writes have completed before that
write. This fixes panics on the HoneyComb LX2K with amdgpu(4).
ok kettenis@