summaryrefslogtreecommitdiff
path: root/src/smi_accel.c
diff options
context:
space:
mode:
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,