diff options
| author | Christian König <[email protected]> | 2020-09-29 15:39:57 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2020-10-07 12:10:18 +0000 |
| commit | 955a341f33b75b8baa6536b283e08e73f3a989da (patch) | |
| tree | f72e29d98d5c52cb4764ced2cc984f9a8ea1f564 | |
| parent | drm/ttm: remove ttm_bo_unmap_virtual_locked declaration v2 (diff) | |
| download | kernel-955a341f33b75b8baa6536b283e08e73f3a989da.tar.gz kernel-955a341f33b75b8baa6536b283e08e73f3a989da.zip | |
drm/ttm: move ttm_set_memory.h out of include
This is not something drivers should use.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Michael J. Ruhl <[email protected]>
Link: https://patchwork.freedesktop.org/patch/393430/
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_page_alloc.c | 3 | ||||
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 3 | ||||
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_set_memory.h (renamed from include/drm/ttm/ttm_set_memory.h) | 0 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index 6bd59c66cc49..111031cbb6df 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c @@ -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 diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c index 5e2df11685e7..1045a5c26ee3 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c @@ -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 diff --git a/include/drm/ttm/ttm_set_memory.h b/drivers/gpu/drm/ttm/ttm_set_memory.h index 2343c18a6133..2343c18a6133 100644 --- a/include/drm/ttm/ttm_set_memory.h +++ b/drivers/gpu/drm/ttm/ttm_set_memory.h |
