diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0413-drm-amdgpu-release_pages-requires-linux-pagemap.h.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0413-drm-amdgpu-release_pages-requires-linux-pagemap.h.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0413-drm-amdgpu-release_pages-requires-linux-pagemap.h.patch b/common/recipes-kernel/linux/files/0413-drm-amdgpu-release_pages-requires-linux-pagemap.h.patch new file mode 100644 index 00000000..e6dd35b8 --- /dev/null +++ b/common/recipes-kernel/linux/files/0413-drm-amdgpu-release_pages-requires-linux-pagemap.h.patch @@ -0,0 +1,43 @@ +From b528dbee3e2fa87e5302d0279eda4ae161b0503b Mon Sep 17 00:00:00 2001 +From: Stephen Rothwell <sfr@canb.auug.org.au> +Date: Thu, 17 Mar 2016 15:30:49 +1100 +Subject: [PATCH 0413/1110] drm/amdgpu: release_pages requires linux/pagemap.h +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> +Reviewed-by: Christian König <christian.koenig@amd.com. +Signed-off-by: Dave Airlie <airlied@redhat.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 1 + + drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +index 62027c6..170b8da 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +@@ -25,6 +25,7 @@ + * Jerome Glisse <glisse@freedesktop.org> + */ + #include <linux/list_sort.h> ++#include <linux/pagemap.h> + #include <drm/drmP.h> + #include <drm/amdgpu_drm.h> + #include "amdgpu.h" +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +index a095776..f5d53b3 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +@@ -26,6 +26,7 @@ + * Jerome Glisse + */ + #include <linux/ktime.h> ++#include <linux/pagemap.h> + #include <drm/drmP.h> + #include <drm/amdgpu_drm.h> + #include "amdgpu.h" +-- +2.7.4 + |