OSDN Git Service

drm/ttm: move ttm_set_memory.h out of include
authorChristian König <christian.koenig@amd.com>
Tue, 29 Sep 2020 15:39:57 +0000 (17:39 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 7 Oct 2020 12:10:18 +0000 (14:10 +0200)
This is not something drivers should use.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patchwork.freedesktop.org/patch/393430/
drivers/gpu/drm/ttm/ttm_page_alloc.c
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
drivers/gpu/drm/ttm/ttm_set_memory.h [moved from include/drm/ttm/ttm_set_memory.h with 100% similarity]

index 6bd59c6..111031c 100644 (file)
@@ -47,7 +47,8 @@
 
 #include <drm/ttm/ttm_bo_driver.h>
 #include <drm/ttm/ttm_page_alloc.h>
-#include <drm/ttm/ttm_set_memory.h>
+
+#include "ttm_set_memory.h"
 
 #define NUM_PAGES_TO_ALLOC             (PAGE_SIZE/sizeof(struct page *))
 #define SMALL_ALLOCATION               16
index 5e2df11..1045a5c 100644 (file)
@@ -49,7 +49,8 @@
 #include <linux/kthread.h>
 #include <drm/ttm/ttm_bo_driver.h>
 #include <drm/ttm/ttm_page_alloc.h>
-#include <drm/ttm/ttm_set_memory.h>
+
+#include "ttm_set_memory.h"
 
 #define NUM_PAGES_TO_ALLOC             (PAGE_SIZE/sizeof(struct page *))
 #define SMALL_ALLOCATION               4