diff options
author | Dave Airlie <airlied@redhat.com> | 2008-06-20 14:16:22 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-20 14:16:22 +1000 |
commit | 38ce8a984f96056b7345bcc06505ba27e0e6d5b4 (patch) | |
tree | dbbe599a90f1cb7e3132ee54085ef2b19fca8c9a /src/legacy_crtc.c | |
parent | 1a7d9bc53512b0a5240176c949e6abf1ae2fb1fd (diff) |
legacy: use entity MMIO for dpms as this can crossover between zaphod infos
Diffstat (limited to 'src/legacy_crtc.c')
-rw-r--r-- | src/legacy_crtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/legacy_crtc.c b/src/legacy_crtc.c index 590a445d..747bc6ed 100644 --- a/src/legacy_crtc.c +++ b/src/legacy_crtc.c @@ -638,8 +638,8 @@ legacy_crtc_dpms(xf86CrtcPtr crtc, int mode) int mask; ScrnInfoPtr pScrn = crtc->scrn; RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private; - RADEONInfoPtr info = RADEONPTR(pScrn); - unsigned char *RADEONMMIO = info->MMIO; + RADEONEntPtr pRADEONEnt = RADEONEntPriv(crtc->scrn); + unsigned char *RADEONMMIO = pRADEONEnt->MMIO; mask = radeon_crtc->crtc_id ? (RADEON_CRTC2_DISP_DIS | RADEON_CRTC2_VSYNC_DIS | RADEON_CRTC2_HSYNC_DIS | RADEON_CRTC2_DISP_REQ_EN_B) : (RADEON_CRTC_DISPLAY_DIS | RADEON_CRTC_HSYNC_DIS | RADEON_CRTC_VSYNC_DIS); |