summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
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,