CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2021/07/28 07:28:05
Modified files: sys/dev/pci/drm: drm_linux.c sys/dev/pci/drm/include/linux: highmem.h sys/dev/pci/drm/ttm: ttm_bo_util.c Log message: Switch to an MI implementation of kmap_atomic() and implement kmap_atomic_prot(). Use this to unstub ttm_copy_io_ttm_page() and ttm_copy_ttm_io_page(). This fixes suspend/resume of machines with certain radeondrm(4) hardware. Based on a diff from jsg@. Tested by Edd Barrett and Alf Schlichting. ok jsg@