[PATCH 0/5] drm/ttm: move non-x86 definitions to the common header

Huang Rui ray.huang at amd.com
Thu Jul 26 09:29:14 UTC 2018


Hi,

As suggested by Christian, we should move non-x86 definitions into one common
header, and it will make the codes readable. They are based on the improvement
fix of Bas (already rebase Bas's patch to drm-next).

Thanks,
Ray

Bas Nieuwenhuizen (1):
  drm/ttm: Merge hugepage attr changes in ttm_dma_page_put.

Huang Rui (4):
  drm/ttm: add ttm_set_memory header
  drm/ttm: clean up non-x86 definitions on ttm_page_alloc_dma
  drm/ttm: clean up non-x86 definitions on ttm_page_alloc
  drm/ttm: use set_pages_wb instead of set_memory_wb

 drivers/gpu/drm/ttm/ttm_page_alloc.c     |  54 +------------
 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c |  53 ++-----------
 include/drm/ttm/ttm_set_memory.h         | 127 +++++++++++++++++++++++++++++++
 3 files changed, 133 insertions(+), 101 deletions(-)
 create mode 100644 include/drm/ttm/ttm_set_memory.h

-- 
2.7.4



More information about the dri-devel mailing list