Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67d0ec4e authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm: Move piles of functions from drmP.h to drm_internal.h



This way drivers can't grow crazy ideas any more, and it also
helps a bit in reviewing EXPORT_SYMBOLS.

v2: Even more stuff. Unfortunately we can't move drm_vm_open_locked
because exynos does some horrible stuff with it.

Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 18882995
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
 */

#include <drm/drmP.h>
#include "drm_internal.h"

struct drm_magic_entry {
	struct list_head head;
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
#include <drm/drm_modeset_lock.h>

#include "drm_crtc_internal.h"
#include "drm_internal.h"

static struct drm_framebuffer *add_framebuffer_internal(struct drm_device *dev,
							struct drm_mode_fb_cmd2 *r,
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@
#include <linux/export.h>
#include <drm/drmP.h>
#include <drm/drm_edid.h>
#include "drm_internal.h"

#if defined(CONFIG_DEBUG_FS)

+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
#include <drm/drmP.h>
#include <drm/drm_core.h>
#include "drm_legacy.h"
#include "drm_internal.h"

unsigned int drm_debug = 0;	/* 1 to enable debug output */
EXPORT_SYMBOL(drm_debug);
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@
#include <linux/slab.h>
#include <linux/module.h>
#include "drm_legacy.h"
#include "drm_internal.h"

/* from BKL pushdown */
DEFINE_MUTEX(drm_global_mutex);
Loading