summaryrefslogtreecommitdiff
path: root/linux-core/intel_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-06-06 12:02:51 +1000
committerDave Airlie <airlied@linux.ie>2008-06-06 12:02:51 +1000
commit8387a232a3305d10c4ac4cd08f9ebd0888944e55 (patch)
treee89746af844c9cfbd349a8108bf73ad3ee0a4d20 /linux-core/intel_drv.h
parent25c1bb334f3a32e3e635e9d5de1abf8abdcc87f0 (diff)
intelfb: move mode sets into the intel crtcs
better place to store them.
Diffstat (limited to 'linux-core/intel_drv.h')
-rw-r--r--linux-core/intel_drv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/intel_drv.h b/linux-core/intel_drv.h
index 25e2a652..1008e271 100644
--- a/linux-core/intel_drv.h
+++ b/linux-core/intel_drv.h
@@ -20,6 +20,8 @@
/* The i830->i865 use multiple DVOs with multiple i2cs */
/* the i915, i945 have a single sDVO i2c bus - which is different */
#define MAX_OUTPUTS 6
+/* maximum connectors per crtcs in the mode set */
+#define INTELFB_CONN_LIMIT 4
#define INTEL_I2C_BUS_DVO 1
#define INTEL_I2C_BUS_SDVO 2
@@ -72,6 +74,8 @@ struct intel_crtc {
u8 lut_r[256], lut_g[256], lut_b[256];
int dpms_mode;
struct intel_framebuffer *fbdev_fb;
+ /* a mode_set for fbdev users on this crtc */
+ struct drm_mode_set mode_set;
};
#define to_intel_crtc(x) container_of(x, struct intel_crtc, base)