drm/vc4: drop use of drmP.h

Drop use of the deprecated header drmP.h.
Fix so vc4_drv.h is now self-contained, and fixed fall-out in remaining
files.

Divided include files in blocks.
Sorted include files within their blocks.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-7-sam@ravnborg.org
This commit is contained in:
Sam Ravnborg
2019-07-16 08:42:07 +02:00
parent 9c25a29766
commit fd6d6d80cb
11 changed files with 60 additions and 28 deletions

View File

@@ -6,16 +6,23 @@
* published by the Free Software Foundation.
*/
#include <linux/mm_types.h>
#include <drm/drmP.h>
#include <drm/drm_util.h>
#include <linux/delay.h>
#include <linux/refcount.h>
#include <linux/uaccess.h>
#include <drm/drm_atomic.h>
#include <drm/drm_debugfs.h>
#include <drm/drm_device.h>
#include <drm/drm_encoder.h>
#include <drm/drm_gem_cma_helper.h>
#include <drm/drm_atomic.h>
#include <drm/drm_syncobj.h>
#include <drm/drm_mm.h>
#include <drm/drm_modeset_lock.h>
#include "uapi/drm/vc4_drm.h"
struct drm_device;
struct drm_gem_object;
/* Don't forget to update vc4_bo.c: bo_type_names[] when adding to
* this.
*/