Commit 7b42a2f4 authored by Sam Ravnborg's avatar Sam Ravnborg

drm/vgem: drop use of drmP.h

Drop use of the deprecated header drmP.h.
Replace with necessary includes in the individual .c files.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Deepak Sharma <deepak.sharma@amd.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-13-sam@ravnborg.org
parent 53fa84b2
...@@ -30,10 +30,17 @@ ...@@ -30,10 +30,17 @@
* software renderer and the X server for efficient buffer sharing. * software renderer and the X server for efficient buffer sharing.
*/ */
#include <linux/dma-buf.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/ramfs.h> #include <linux/platform_device.h>
#include <linux/shmem_fs.h> #include <linux/shmem_fs.h>
#include <linux/dma-buf.h> #include <linux/vmalloc.h>
#include <drm/drm_drv.h>
#include <drm/drm_file.h>
#include <drm/drm_ioctl.h>
#include <drm/drm_prime.h>
#include "vgem_drv.h" #include "vgem_drv.h"
#define DRIVER_NAME "vgem" #define DRIVER_NAME "vgem"
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#ifndef _VGEM_DRV_H_ #ifndef _VGEM_DRV_H_
#define _VGEM_DRV_H_ #define _VGEM_DRV_H_
#include <drm/drmP.h>
#include <drm/drm_gem.h> #include <drm/drm_gem.h>
#include <drm/drm_cache.h> #include <drm/drm_cache.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include <linux/dma-buf.h> #include <linux/dma-buf.h>
#include <linux/reservation.h> #include <linux/reservation.h>
#include <drm/drm_file.h>
#include "vgem_drv.h" #include "vgem_drv.h"
#define VGEM_FENCE_TIMEOUT (10*HZ) #define VGEM_FENCE_TIMEOUT (10*HZ)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment