revert drm_mm to our previous drm 5.7.y version
authorjsg <jsg@openbsd.org>
Thu, 8 Jul 2021 13:07:53 +0000 (13:07 +0000)
committerjsg <jsg@openbsd.org>
Thu, 8 Jul 2021 13:07:53 +0000 (13:07 +0000)
commit9e16f3f26eafbf789fc91f3edf868230bb821852
tree71b4bffe19f0dcd4910860dbd306c813b9955080
parent47773e709319e1427b788fec90f3bfee1d53f182
revert drm_mm to our previous drm 5.7.y version

Josh Rickmar and several developers reported X would sometimes fail to
start on laptops with raven ridge and picasso apus using amdgpu.

drm:pid71504:amdgpu_bo_pin_restricted *ERROR* 0xffff800001836e18 pin failed
[drm] *ERROR* Failed to pin framebuffer with error -12

ttm_bo_mem_space() ret -ENOMEM
ttm_bo_move_buffer()
ttm_bo_validate()
amdgpu_bo_pin_restricted()

By all reports this does not occur with the old drm_mm.
sys/dev/pci/drm/drm_mm.c
sys/dev/pci/drm/include/drm/drm_mm.h