aboutsummaryrefslogtreecommitdiff
path: root/linux-core/xgi_regs.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-08-14 13:20:37 -0700
committerIan Romanick <idr@us.ibm.com>2007-08-14 13:20:37 -0700
commitd3c8e98dd9ccc366513c117d032fbf80be4eb06a (patch)
tree99c4e487ef558497f9bdf1368b1a43347efa2b3a /linux-core/xgi_regs.h
parentbe76f0eea9b455fde77e15ff35f4f00c70661e51 (diff)
Move dwWriteReg to xgi_cmdlist.c, the only file where it is used.
Diffstat (limited to 'linux-core/xgi_regs.h')
-rw-r--r--linux-core/xgi_regs.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/linux-core/xgi_regs.h b/linux-core/xgi_regs.h
index 098d824d..2f9fbe64 100644
--- a/linux-core/xgi_regs.h
+++ b/linux-core/xgi_regs.h
@@ -157,17 +157,4 @@ static inline u8 IN3CFB(struct drm_map * map, u8 index)
return DRM_READ8(map, 0x3CF);
}
-
-/*
- * Graphic engine register (2d/3d) acessing interface
- */
-static inline void dwWriteReg(struct drm_map * map, u32 addr, u32 data)
-{
-#ifdef XGI_MMIO_DEBUG
- DRM_INFO("mmio_map->handle = 0x%p, addr = 0x%x, data = 0x%x\n",
- map->handle, addr, data);
-#endif
- DRM_WRITE32(map, addr, data);
-}
-
#endif