forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
kernel/include/drm/ttm/ttm_page_alloc.h
....@@ -74,7 +74,7 @@
7474 */
7575 int ttm_page_alloc_debugfs(struct seq_file *m, void *data);
7676
77
-#if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU)
77
+#if defined(CONFIG_DRM_TTM_DMA_PAGE_POOL)
7878 /**
7979 * Initialize pool allocator.
8080 */