提交 3e2b756b 编写于 作者: C Chris Metcalf 提交者: Dave Airlie

drm: fix compile failure by including <linux/swiotlb.h>

On tile architecture (with "make allyesconfig") including
<linux/swiotlb.h> is required to call swiotlb_nr_tbl().
Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
Acked-by: NMaarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 93711d8b
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
*/ */
#include <core/engine.h> #include <core/engine.h>
#include <linux/swiotlb.h>
#include <subdev/fb.h> #include <subdev/fb.h>
#include <subdev/vm.h> #include <subdev/vm.h>
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <drm/radeon_drm.h> #include <drm/radeon_drm.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/swiotlb.h>
#include "radeon_reg.h" #include "radeon_reg.h"
#include "radeon.h" #include "radeon.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册