summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-08-14 13:19:48 -0700
committerIan Romanick <idr@us.ibm.com>2007-08-14 13:19:48 -0700
commitbe76f0eea9b455fde77e15ff35f4f00c70661e51 (patch)
tree93a38abdebbcf16138c5aaf582458351507adee1
parent891714d8d732480af97fbc45562145a560b7999b (diff)
downloaddrm-be76f0eea9b455fde77e15ff35f4f00c70661e51.tar.gz
Remove unused interrupt related functions.
-rw-r--r--linux-core/xgi_regs.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/linux-core/xgi_regs.h b/linux-core/xgi_regs.h
index 7f643f92..098d824d 100644
--- a/linux-core/xgi_regs.h
+++ b/linux-core/xgi_regs.h
@@ -170,28 +170,4 @@ static inline void dwWriteReg(struct drm_map * map, u32 addr, u32 data)
DRM_WRITE32(map, addr, data);
}
-
-static inline void xgi_enable_dvi_interrupt(struct xgi_info * info)
-{
- OUT3CFB(info->mmio_map, 0x39, IN3CFB(info->mmio_map, 0x39) & ~0x01); //Set 3cf.39 bit 0 to 0
- OUT3CFB(info->mmio_map, 0x39, IN3CFB(info->mmio_map, 0x39) | 0x01); //Set 3cf.39 bit 0 to 1
- OUT3CFB(info->mmio_map, 0x39, IN3CFB(info->mmio_map, 0x39) | 0x02);
-}
-static inline void xgi_disable_dvi_interrupt(struct xgi_info * info)
-{
- OUT3CFB(info->mmio_map, 0x39, IN3CFB(info->mmio_map, 0x39) & ~0x02);
-}
-
-static inline void xgi_enable_crt1_interrupt(struct xgi_info * info)
-{
- OUT3CFB(info->mmio_map, 0x3d, IN3CFB(info->mmio_map, 0x3d) | 0x04);
- OUT3CFB(info->mmio_map, 0x3d, IN3CFB(info->mmio_map, 0x3d) & ~0x04);
- OUT3CFB(info->mmio_map, 0x3d, IN3CFB(info->mmio_map, 0x3d) | 0x08);
-}
-
-static inline void xgi_disable_crt1_interrupt(struct xgi_info * info)
-{
- OUT3CFB(info->mmio_map, 0x3d, IN3CFB(info->mmio_map, 0x3d) & ~0x08);
-}
-
#endif