diff options
author | Zwane Mwaikambo <zwane@infradead.org> | 2007-01-30 00:20:31 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-02-03 17:16:24 -0500 |
commit | 0316fe8319ff62e527d0d91a3bc7df1c59eafae8 (patch) | |
tree | 0249ce36410476e10659bdc4f3a8f4124b964853 /drivers/char/agp/agp.h | |
parent | ce35a81a71f405031ed6fd0d454d3aaa55dc8ed2 (diff) |
[AGPGART] compat ioctl
The following video card requires the agpgart driver ioctl
interface in order to detect video memory.
00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
Tested on a Thinkpad Z61t, Xorg.0.log from a 32bit debian Xorg is at;
http://montezuma.homeunix.net/Xorg.0.log
Signed-off-by: Zwane Mwaikambo <zwane@infradead.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/agp/agp.h')
-rw-r--r-- | drivers/char/agp/agp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index 1d59e2a5b9aa..7fc72d12e7be 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h | |||
@@ -288,6 +288,8 @@ extern struct aper_size_info_16 agp3_generic_sizes[]; | |||
288 | extern int agp_off; | 288 | extern int agp_off; |
289 | extern int agp_try_unsupported_boot; | 289 | extern int agp_try_unsupported_boot; |
290 | 290 | ||
291 | long compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg); | ||
292 | |||
291 | /* Chipset independant registers (from AGP Spec) */ | 293 | /* Chipset independant registers (from AGP Spec) */ |
292 | #define AGP_APBASE 0x10 | 294 | #define AGP_APBASE 0x10 |
293 | 295 | ||