summaryrefslogtreecommitdiff
path: root/drivers/video/intelfb/intelfb.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-23 05:06:32 +0300
committerDave Airlie <airlied@linux.ie>2006-04-03 05:43:28 +0400
commit8bb91f6a2d1db8031bfbb367df075f041d0cdfe2 (patch)
tree558db93f69096ede171d0b4e6c6c0330d8362e92 /drivers/video/intelfb/intelfb.h
parent7679f4d69296de97a7f62458cc4d1c6c884dfcfb (diff)
downloadlinux-8bb91f6a2d1db8031bfbb367df075f041d0cdfe2.tar.xz
intelfb: add hw cursor support for i9xx
This adds hw cursor support for the i9xx chipsets. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/video/intelfb/intelfb.h')
-rw-r--r--drivers/video/intelfb/intelfb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h
index fb2739fb746a..de9875c0c08f 100644
--- a/drivers/video/intelfb/intelfb.h
+++ b/drivers/video/intelfb/intelfb.h
@@ -284,6 +284,8 @@ struct intelfb_info {
int pll_index;
};
+#define IS_I9xx(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G))
+
/*** function prototypes ***/
extern int intelfb_var_to_depth(const struct fb_var_screeninfo *var);