diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2021-08-12 22:34:43 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-08-16 14:44:05 +0200 |
commit | 80cbd8808f85017b8aff4b223db68926b470be12 (patch) | |
tree | d84708062dce7b156f12f6a091df5f40239ebfa0 /include/drm/ttm/ttm_tt.h | |
parent | drm/ttm: ttm_bo_device is now ttm_device (diff) | |
download | linux-80cbd8808f85017b8aff4b223db68926b470be12.tar.xz linux-80cbd8808f85017b8aff4b223db68926b470be12.zip |
drm/ttm: Include pagemap.h from ttm_tt.h
It's needed for pgprot_t which is used in the header.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210812203443.1725307-2-jason@jlekstrand.net
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'include/drm/ttm/ttm_tt.h')
-rw-r--r-- | include/drm/ttm/ttm_tt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h index 0d97967bf955..b20e89d321b0 100644 --- a/include/drm/ttm/ttm_tt.h +++ b/include/drm/ttm/ttm_tt.h @@ -27,6 +27,7 @@ #ifndef _TTM_TT_H_ #define _TTM_TT_H_ +#include <linux/pagemap.h> #include <linux/types.h> #include <drm/ttm/ttm_caching.h> #include <drm/ttm/ttm_kmap_iter.h> |