diff options
author | Dave Airlie <airlied@redhat.com> | 2008-06-20 14:14:21 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-20 14:14:21 +1000 |
commit | 1a7d9bc53512b0a5240176c949e6abf1ae2fb1fd (patch) | |
tree | 14fed7a71b61ef7b1d59e1f820451591299bd807 | |
parent | ef624b88903b1a87ef5b6388e18291f75776b93d (diff) |
atombios: use MMIO from the entity not the info
-rw-r--r-- | src/radeon_atombios.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index 314bc152..900e9289 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -2047,8 +2047,8 @@ UINT32 CailReadATIRegister(VOID* CAIL, UINT32 idx) { ScrnInfoPtr pScrn = xf86Screens[((atomBiosHandlePtr)CAIL)->scrnIndex]; - RADEONInfoPtr info = RADEONPTR(pScrn); - unsigned char *RADEONMMIO = info->MMIO; + RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn); + unsigned char *RADEONMMIO = pRADEONEnt->MMIO; UINT32 ret; CAILFUNC(CAIL); @@ -2061,8 +2061,8 @@ VOID CailWriteATIRegister(VOID *CAIL, UINT32 idx, UINT32 data) { ScrnInfoPtr pScrn = xf86Screens[((atomBiosHandlePtr)CAIL)->scrnIndex]; - RADEONInfoPtr info = RADEONPTR(pScrn); - unsigned char *RADEONMMIO = info->MMIO; + RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn); + unsigned char *RADEONMMIO = pRADEONEnt->MMIO; CAILFUNC(CAIL); OUTREG(idx << 2,data); |