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: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-09-10 12:43:49 +02:00
parent a677f4cc88
commit 4f03b1fc1e
11 changed files with 73 additions and 15 deletions

View File

@@ -33,6 +33,7 @@
#include <linux/firmware.h>
#include <linux/platform_device.h>
#include <drm/drm_legacy.h>
#include <drm/ati_pcigart.h>
#include "radeon_family.h"