aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2019-06-09 22:07:53 +0000
committerSam Ravnborg <[email protected]>2019-06-10 21:00:08 +0000
commit831583c309105cfcfbbbb4b3875b09e5209d2b99 (patch)
treee3323ab50b388508ec9a6f786c4e2cb3b6297883 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h
parentdrm/amd: drop use of drmP.h in atom.h (diff)
downloadkernel-831583c309105cfcfbbbb4b3875b09e5209d2b99.tar.gz
kernel-831583c309105cfcfbbbb4b3875b09e5209d2b99.zip
drm/amd: drop use of drmP.h from all header files
Drop use of the deprecated drmP.h header file from all amd header files. This makes it a more smooth process to get rid of drmP.h in the .c files. Added include files and forwards as appropriate. Signed-off-by: Sam Ravnborg <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Cc: "Christian König" <[email protected]> Cc: "David (ChunMing) Zhou" <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h
index 2a1a0c734bdd..12299fd95691 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h
@@ -25,7 +25,10 @@
#ifndef __AMDGPU_SCHED_H__
#define __AMDGPU_SCHED_H__
-#include <drm/drmP.h>
+enum drm_sched_priority;
+
+struct drm_device;
+struct drm_file;
enum drm_sched_priority amdgpu_to_sched_priority(int amdgpu_priority);
int amdgpu_sched_ioctl(struct drm_device *dev, void *data,