[PATCH v2 0/3] drm: add gem ttm helpers

Gerd Hoffmann kraxel at redhat.com
Wed Aug 7 10:38:46 UTC 2019



Gerd Hoffmann (3):
  drm: add gem ttm helpers
  drm/vram: switch vram helpers to use the new ttm helpers.
  drm/qxl: switch qxl to use the new ttm helpers.

 drivers/gpu/drm/qxl/qxl_drv.h                 |  4 +-
 drivers/gpu/drm/qxl/qxl_object.h              |  5 --
 include/drm/drm_gem_ttm_helper.h              | 27 +++++++++++
 include/drm/drm_gem_vram_helper.h             |  7 +--
 drivers/gpu/drm/drm_gem_ttm_helper.c          | 45 +++++++++++++++++
 drivers/gpu/drm/drm_gem_vram_helper.c         | 48 -------------------
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   |  2 +-
 drivers/gpu/drm/qxl/qxl_drv.c                 |  2 +-
 drivers/gpu/drm/qxl/qxl_dumb.c                | 17 -------
 drivers/gpu/drm/qxl/qxl_ioctl.c               |  5 +-
 Documentation/gpu/drm-mm.rst                  | 12 +++++
 drivers/gpu/drm/Kconfig                       |  8 ++++
 drivers/gpu/drm/Makefile                      |  3 ++
 drivers/gpu/drm/qxl/Kconfig                   |  1 +
 14 files changed, 104 insertions(+), 82 deletions(-)
 create mode 100644 include/drm/drm_gem_ttm_helper.h
 create mode 100644 drivers/gpu/drm/drm_gem_ttm_helper.c

-- 
2.18.1



More information about the dri-devel mailing list