aboutsummaryrefslogtreecommitdiff
path: root/linux-core/intel_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-05 11:11:22 +1000
committerDave Airlie <airlied@redhat.com>2008-06-05 11:11:22 +1000
commit967bd219116a4f20aec828b890a225d2f92afd0b (patch)
tree2ce03e7a65088bc53282eec6f9417942ad10939d /linux-core/intel_drv.h
parentcf1964f971cc298ece91064953f7d00ed13e541d (diff)
modesetting: initial attempt at debonging fb
Diffstat (limited to 'linux-core/intel_drv.h')
-rw-r--r--linux-core/intel_drv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/intel_drv.h b/linux-core/intel_drv.h
index 46f0fbec..25e2a652 100644
--- a/linux-core/intel_drv.h
+++ b/linux-core/intel_drv.h
@@ -52,6 +52,7 @@ struct intel_framebuffer {
struct drm_bo_kmap_obj kmap;
};
+
struct intel_output {
struct drm_connector base;
@@ -70,6 +71,7 @@ struct intel_crtc {
uint32_t cursor_addr;
u8 lut_r[256], lut_g[256], lut_b[256];
int dpms_mode;
+ struct intel_framebuffer *fbdev_fb;
};
#define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
@@ -108,7 +110,7 @@ extern void intel_release_load_detect_pipe(struct intel_output *intel_output,
extern struct drm_connector* intel_sdvo_find(struct drm_device *dev, int sdvoB);
extern int intel_sdvo_supports_hotplug(struct drm_connector *connector);
extern void intel_sdvo_set_hotplug(struct drm_connector *connector, int enable);
-extern int intelfb_probe(struct drm_device *dev, struct drm_crtc *crtc, struct drm_connector *connector);
+extern int intelfb_probe(struct drm_device *dev);
extern int intelfb_remove(struct drm_device *dev, struct drm_framebuffer *fb);
extern int intelfb_resize(struct drm_device *dev, struct drm_crtc *crtc);
extern void intel_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,