diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-21 10:36:48 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-07-21 10:36:48 -0400 |
commit | c18fad622a3c4f9572051120d83af68b625b5686 (patch) | |
tree | f15ff529f313f743623700b5dee7471dc5de6b6d /src/legacy_crtc.c | |
parent | dc231ff8e063313d2bcf5acccad67a9f8a7e3314 (diff) |
Clear display priority bits before resetting them
Diffstat (limited to 'src/legacy_crtc.c')
-rw-r--r-- | src/legacy_crtc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/legacy_crtc.c b/src/legacy_crtc.c index e5561e87..f7216f90 100644 --- a/src/legacy_crtc.c +++ b/src/legacy_crtc.c @@ -1369,6 +1369,8 @@ RADEONInitDispBandwidthLegacy(ScrnInfoPtr pScrn, */ if ((info->DispPriority == 2) && IS_R300_VARIANT) { uint32_t mc_init_misc_lat_timer = INREG(R300_MC_INIT_MISC_LAT_TIMER); + mc_init_misc_lat_timer &= ~(R300_MC_DISP1R_INIT_LAT_MASK << R300_MC_DISP1R_INIT_LAT_SHIFT); + mc_init_misc_lat_timer &= ~(R300_MC_DISP0R_INIT_LAT_MASK << R300_MC_DISP0R_INIT_LAT_SHIFT); if (pRADEONEnt->pCrtc[1]->enabled) mc_init_misc_lat_timer |= (1 << R300_MC_DISP1R_INIT_LAT_SHIFT); /* display 1 */ if (pRADEONEnt->pCrtc[0]->enabled) @@ -1376,7 +1378,6 @@ RADEONInitDispBandwidthLegacy(ScrnInfoPtr pScrn, OUTREG(R300_MC_INIT_MISC_LAT_TIMER, mc_init_misc_lat_timer); } - /* R420 and RV410 family not supported yet */ if (info->ChipFamily == CHIP_FAMILY_R420 || info->ChipFamily == CHIP_FAMILY_RV410) return; |