summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/savage/savage_state.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-06-05 16:03:14 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-06-05 20:31:04 +0200
commitac0ac2102003d1990a44e17b97721e6909c1dc82 (patch)
treec6fd993d10e75bfecef36aef1467b2cc038ba49b /drivers/gpu/drm/savage/savage_state.c
parentdrm/savage: drop use of drm_os_linux (diff)
downloadlinux-ac0ac2102003d1990a44e17b97721e6909c1dc82.tar.xz
linux-ac0ac2102003d1990a44e17b97721e6909c1dc82.zip
drm/savage: drop use of drmP.h
Drop use of the deprecated drmP.h header file. Replace it with the necessary includes of other headers. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Daniel Vetter <daniel@ffwll.ch> Cc: David Airlie <airlied@linux.ie> Link: https://patchwork.freedesktop.org/patch/msgid/20190605140313.13629-3-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/savage/savage_state.c')
-rw-r--r--drivers/gpu/drm/savage/savage_state.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/gpu/drm/savage/savage_state.c b/drivers/gpu/drm/savage/savage_state.c
index ebb8b7d32b33..a2ac25c11c90 100644
--- a/drivers/gpu/drm/savage/savage_state.c
+++ b/drivers/gpu/drm/savage/savage_state.c
@@ -22,8 +22,15 @@
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <drm/drmP.h>
+
+#include <linux/slab.h>
+#include <linux/uaccess.h>
+
+#include <drm/drm_device.h>
+#include <drm/drm_file.h>
+#include <drm/drm_print.h>
#include <drm/savage_drm.h>
+
#include "savage_drv.h"
void savage_emit_clip_rect_s3d(drm_savage_private_t * dev_priv,