kernel - Change pager interface to pass page index 2/2
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 4 Nov 2020 21:51:40 +0000 (13:51 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 4 Nov 2020 21:51:40 +0000 (13:51 -0800)
commit2854a88cc4245e2bc1b92a21ab431517b136a51d
tree57385de686525c6989667d8655d919a5c76ec84f
parent5ebb17ade080f18c7363356e0f8f195dde213565
kernel - Change pager interface to pass page index 2/2

* Adjust the DRM calls to vm_pager_get_page() to pass the
  page index.

* Greatly simplify drm/linux_shmem.c and drm/ttm/ttm_bo_vm.c,
  removing the need to deal with placemarker pages for
  VM faults on OBJT_MGTDEVICE objects.
sys/dev/drm/i915/i915_gem.c
sys/dev/drm/linux_shmem.c
sys/dev/drm/ttm/ttm_bo_vm.c
sys/dev/drm/ttm/ttm_tt.c