git: kernel - Change pager interface to pass page index 2/2

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 4 13:54:08 PST 2020


commit 2854a88cc4245e2bc1b92a21ab431517b136a51d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Nov 4 13:51:40 2020 -0800

    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.

Summary of changes:
 sys/dev/drm/i915/i915_gem.c | 58 ++-------------------------
 sys/dev/drm/linux_shmem.c   | 47 +++++++++++++++-------
 sys/dev/drm/ttm/ttm_bo_vm.c | 98 +++++++--------------------------------------
 sys/dev/drm/ttm/ttm_tt.c    |  2 +-
 4 files changed, 50 insertions(+), 155 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2854a88cc4245e2bc1b92a21ab431517b136a51d


-- 
DragonFly BSD source repository



More information about the Commits mailing list