Commit ac0ac210 authored by Sam Ravnborg's avatar Sam Ravnborg

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: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarDaniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20190605140313.13629-3-sam@ravnborg.org
parent 87158992
......@@ -24,9 +24,15 @@
*/
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <drm/drmP.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"
/* Need a long timeout for shadow status updates can take a while
......
......@@ -25,12 +25,13 @@
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/savage_drm.h>
#include "savage_drv.h"
#include <drm/drm_drv.h>
#include <drm/drm_file.h>
#include <drm/drm_pci.h>
#include <drm/drm_pciids.h>
#include "savage_drv.h"
static struct pci_device_id pciidlist[] = {
savage_PCI_IDS
};
......
......@@ -26,7 +26,11 @@
#ifndef __SAVAGE_DRV_H__
#define __SAVAGE_DRV_H__
#include <linux/io.h>
#include <drm/drm_ioctl.h>
#include <drm/drm_legacy.h>
#include <drm/savage_drm.h>
#define DRIVER_AUTHOR "Felix Kuehling"
......
......@@ -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,
......
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