Skip to content

Commit 568d7c7

Browse files
sfrothwellairlied
authored andcommitted
drm/amdgpu: release_pages requires linux/pagemap.h
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>
1 parent 902d02d commit 568d7c7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* Jerome Glisse <glisse@freedesktop.org>
2626
*/
2727
#include <linux/list_sort.h>
28+
#include <linux/pagemap.h>
2829
#include <drm/drmP.h>
2930
#include <drm/amdgpu_drm.h>
3031
#include "amdgpu.h"

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* Jerome Glisse
2727
*/
2828
#include <linux/ktime.h>
29+
#include <linux/pagemap.h>
2930
#include <drm/drmP.h>
3031
#include <drm/amdgpu_drm.h>
3132
#include "amdgpu.h"

0 commit comments

Comments
 (0)