Add arm64 support. On ARM write-combining translates into the normal uncached
authorkettenis <kettenis@openbsd.org>
Mon, 20 Aug 2018 19:33:31 +0000 (19:33 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 20 Aug 2018 19:33:31 +0000 (19:33 +0000)
commit3cc41ffd63552134bd3ae99501665db127d07bdd
tree6d1c4a24ddbbe0e71e96377dfa5d45ea678b7ac2
parent821fc9861053f20b73ccebf6ec8a1342c364af4d
Add arm64 support.  On ARM write-combining translates into the normal uncached
memory attribute and uncached translates into device-nGnRnE memory.  This
complicates the mapping onto PMAP_WC, PMAP_NOCACHE and PMAP_DEVICE a bit
since the requirements of the drm(4) subsystem don't quite match the natural
definitions for these.

ok jsg@, mpi@, visa@
sys/dev/pci/drm/drm_linux.h
sys/dev/pci/drm/ttm/ttm_bo_util.c