diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-06-10 00:07:53 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2019-06-10 23:00:08 +0200 |
commit | 831583c309105cfcfbbbb4b3875b09e5209d2b99 (patch) | |
tree | e3323ab50b388508ec9a6f786c4e2cb3b6297883 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h | |
parent | 841d0023338c902e91ffa5c5954fd58dd9912e87 (diff) | |
download | linux-831583c309105cfcfbbbb4b3875b09e5209d2b99.tar.bz2 |
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 <sam@ravnborg.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190609220757.10862-7-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sched.h | 5 |
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, |