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

Commit 4f03b1fc authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm: Create drm legacy driver header



And move a few legayc functions to start things over there.

It compiles ...

Inspired by a patch from Dave Airlie, but with a split between drm.ko
private legacy functions and stuff used by drivers.

Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent a677f4cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
 * drivers use them, and removing them are API breaks.
 */
#include <linux/list.h>
#include <drm/drm_legacy.h>

struct agp_memory;
struct drm_device;
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@
#ifndef _I810_DRV_H_
#define _I810_DRV_H_

#include <drm/drm_legacy.h>

/* General customization:
 */

+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_legacy.h>
#include "intel_drv.h"
#include <drm/i915_drm.h>
#include "i915_drv.h"
+2 −0
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@
#ifndef __MGA_DRV_H__
#define __MGA_DRV_H__

#include <drm/drm_legacy.h>

/* General customization:
 */

+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@
#define __R128_DRV_H__

#include <drm/ati_pcigart.h>
#include <drm/drm_legacy.h>

/* General customization:
 */
#define DRIVER_AUTHOR		"Gareth Hughes, VA Linux Systems Inc."
Loading