summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@airlied2.(none)>2007-04-11 16:33:03 +1000
committerDave Airlie <airlied@airlied2.(none)>2007-04-11 16:33:03 +1000
commit32f6a58db216f23a7c71ca9c7eda56aaa8293078 (patch)
treeb5c1899ce99797552cb6f01391b38a75ae6377f4 /linux-core/drm_crtc.h
parentadd7a928ad1819df17d5764d06fb81985b285d08 (diff)
add initial drm_fb framebuffer
So far I can load fbcon, once I use my miniglx to add a framebuffer. fbcon doesn't show anything on screen but baby steps and all that.
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index 57bfb10b..d5d256d4 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -11,6 +11,8 @@
#include <linux/types.h>
#include <linux/idr.h>
+#include <linux/fb.h>
+
struct drm_device;
/*
@@ -179,6 +181,9 @@ struct drm_framebuffer {
int bits_per_pixel;
int flags;
struct drm_buffer_object *bo;
+ void *fbdev;
+ u32 pseudo_palette[17];
+ void *virtual_base;
};
struct drm_crtc;
struct drm_output;
@@ -412,6 +417,7 @@ struct drm_mode_config {
/* DamagePtr rotationDamage? */
/* DGA stuff? */
struct drm_mode_config_funcs *funcs;
+ int fb_base;
};
struct drm_output *drm_output_create(struct drm_device *dev,