summaryrefslogtreecommitdiff
path: root/src/smi_accel.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-09-02 18:16:41 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-09-02 18:16:41 -0300
commitcf5132907e4709c872089fe2d79837b2de4e45b7 (patch)
treebc906cb4c35a838e7a9c8bb76d9f01b0e7c04f39 /src/smi_accel.c
parenta2a090e10f031aed6dbf6d143d6ce8abdf7a2392 (diff)
Rename global smi501 functions to have SMI501 prefix.
Functions renamed were setDPMS -> SMI501_SetDPMS, regRead32 -> SMI501_Read32 and regWrite32 -> SMI501_Write32. Also moved SMI_SetDPMS to start of smi_501.c to have extern functions at start of the file.
Diffstat (limited to 'src/smi_accel.c')
-rw-r--r--src/smi_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_accel.c b/src/smi_accel.c
index 6e66677..f894eff 100644
--- a/src/smi_accel.c
+++ b/src/smi_accel.c
@@ -83,7 +83,7 @@ SMI_AccelSync(ScrnInfoPtr pScrn)
int i, dwVal;
for (i = 0x1000000; i > 0; i--) {
- dwVal = regRead32(pSmi, CMD_INTPR_STATUS);
+ dwVal = SMI501_Read32(pSmi, CMD_INTPR_STATUS);
if (FIELD_GET(dwVal, CMD_INTPR_STATUS,
2D_ENGINE) == CMD_INTPR_STATUS_2D_ENGINE_IDLE &&
FIELD_GET(dwVal, CMD_INTPR_STATUS,