mbox series

[v3,0/8] drm: add gem ttm helpers

Message ID 20190808093702.29512-1-kraxel@redhat.com (mailing list archive)
Headers show
Series drm: add gem ttm helpers | expand

Message

Gerd Hoffmann Aug. 8, 2019, 9:36 a.m. UTC
Christoph Hellwig (1):
  scsi: core: fix the dma_max_mapping_size call

Gerd Hoffmann (7):
  ttm: turn ttm_bo_device.vma_manager into a pointer
  drm/ttm: add gem_ttm_bo_device_init()
  drm/vram: switch vram helpers to the new gem_ttm_bo_device_init()
  drm/qxl: switch qxl to the new gem_ttm_bo_device_init()
  drm/ttm: add drm_gem_ttm_bo_driver_verify_access()
  gem/vram: use drm_gem_ttm_bo_driver_verify_access()
  gem/qxl: use drm_gem_ttm_bo_driver_verify_access()

 drivers/gpu/drm/qxl/qxl_drv.h                 |  4 +-
 drivers/gpu/drm/qxl/qxl_object.h              |  5 --
 include/drm/drm_gem_ttm_helper.h              | 32 +++++++++
 include/drm/drm_gem_vram_helper.h             |  9 +--
 include/drm/ttm/ttm_bo_driver.h               | 11 ++-
 drivers/gpu/drm/drm_gem_ttm_helper.c          | 58 +++++++++++++++
 drivers/gpu/drm/drm_gem_vram_helper.c         | 70 +------------------
 drivers/gpu/drm/drm_vram_mm_helper.c          |  6 +-
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   |  1 -
 drivers/gpu/drm/qxl/qxl_drv.c                 |  1 -
 drivers/gpu/drm/qxl/qxl_dumb.c                | 17 -----
 drivers/gpu/drm/qxl/qxl_ioctl.c               |  5 +-
 drivers/gpu/drm/qxl/qxl_ttm.c                 | 18 ++---
 drivers/gpu/drm/ttm/ttm_bo.c                  | 29 +++++---
 drivers/gpu/drm/ttm/ttm_bo_vm.c               |  6 +-
 drivers/scsi/scsi_lib.c                       |  6 +-
 Documentation/gpu/drm-mm.rst                  | 12 ++++
 drivers/gpu/drm/Kconfig                       |  8 +++
 drivers/gpu/drm/Makefile                      |  3 +
 drivers/gpu/drm/qxl/Kconfig                   |  1 +
 20 files changed, 165 insertions(+), 137 deletions(-)
 create mode 100644 include/drm/drm_gem_ttm_helper.h
 create mode 100644 drivers/gpu/drm/drm_gem_ttm_helper.c