summaryrefslogtreecommitdiff
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-03-08 14:55:48 +0300
committerJani Nikula <jani.nikula@intel.com>2024-03-11 12:47:06 +0300
commit2c6f6831876acabfc917248927e7622fa789eb24 (patch)
tree52d869f470e0de8fcaec9622410fb084140dbdc1 /include/drm/ttm
parent4f51e057c0a28f52fc17824c628cf3123b0ef12f (diff)
downloadlinux-2c6f6831876acabfc917248927e7622fa789eb24.tar.xz
drm/ttm: make ttm_caching.h self-contained
Include <linux/pgtable.h> for pgprot_t. Cc: Christian Koenig <christian.koenig@amd.com> Cc: Huang Rui <ray.huang@amd.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/fb87ab4b4490c53e9ece66d53c4f178ead244cb5.1709898638.git.jani.nikula@intel.com
Diffstat (limited to 'include/drm/ttm')
-rw-r--r--include/drm/ttm/ttm_caching.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_caching.h b/include/drm/ttm/ttm_caching.h
index 235a743d90e1..a18f43e93aba 100644
--- a/include/drm/ttm/ttm_caching.h
+++ b/include/drm/ttm/ttm_caching.h
@@ -25,6 +25,8 @@
#ifndef _TTM_CACHING_H_
#define _TTM_CACHING_H_
+#include <linux/pgtable.h>
+
#define TTM_NUM_CACHING_TYPES 3
/**