aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/intelfb/intelfb.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-23 13:06:32 +1100
committerDave Airlie <airlied@linux.ie>2006-04-03 11:43:28 +1000
commit8bb91f6a2d1db8031bfbb367df075f041d0cdfe2 (patch)
tree558db93f69096ede171d0b4e6c6c0330d8362e92 /drivers/video/intelfb/intelfb.h
parent7679f4d69296de97a7f62458cc4d1c6c884dfcfb (diff)
downloadkernel_samsung_smdk4412-8bb91f6a2d1db8031bfbb367df075f041d0cdfe2.tar.gz
kernel_samsung_smdk4412-8bb91f6a2d1db8031bfbb367df075f041d0cdfe2.tar.bz2
kernel_samsung_smdk4412-8bb91f6a2d1db8031bfbb367df075f041d0cdfe2.zip
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 fb2739fb746..de9875c0c08 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);