drm/virtgpu: drop use of drmP.h

Drop use of the deprecated drmP.h header file.
Fix fallout by adding missing include files.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: virtualization@lists.linux-foundation.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190630061922.7254-28-sam@ravnborg.org
This commit is contained in:
Sam Ravnborg
2019-06-30 08:19:16 +02:00
parent 7c1be93c8e
commit a3d639776e
12 changed files with 43 additions and 25 deletions

View File

@@ -25,7 +25,9 @@
#include <linux/virtio.h>
#include <linux/virtio_config.h>
#include <drm/drmP.h>
#include <drm/drm_file.h>
#include "virtgpu_drv.h"
static void virtio_gpu_config_changed_work_func(struct work_struct *work)