summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-09 11:30:57 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-09 11:32:25 -0400
commita6d6c900e60a3685ee9e93c34eb7f6d237c45fd8 (patch)
tree7174c47050edb16d5d88ba6348c76b009d5a949f /src
parentea407570d39ace3162d372eda56bf791bfd80c24 (diff)
RS740: fixup display latency setting as per rs690
Both chips program the same in this regard
Diffstat (limited to 'src')
-rw-r--r--src/atombios_crtc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index d3fb62b5..6d24c2b1 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -693,7 +693,8 @@ RADEONInitDispBandwidthAVIVO(ScrnInfoPtr pScrn,
uint32_t mc_init_misc_lat_timer = 0;
if (info->ChipFamily == CHIP_FAMILY_RV515)
mc_init_misc_lat_timer = INMC(pScrn, RV515_MC_INIT_MISC_LAT_TIMER);
- else if (info->ChipFamily == CHIP_FAMILY_RS690)
+ else if ((info->ChipFamily == CHIP_FAMILY_RS690) ||
+ (info->ChipFamily == CHIP_FAMILY_RS740))
mc_init_misc_lat_timer = INMC(pScrn, RS690_MC_INIT_MISC_LAT_TIMER);
mc_init_misc_lat_timer &= ~(R300_MC_DISP1R_INIT_LAT_MASK << R300_MC_DISP1R_INIT_LAT_SHIFT);
@@ -706,7 +707,8 @@ RADEONInitDispBandwidthAVIVO(ScrnInfoPtr pScrn,
if (info->ChipFamily == CHIP_FAMILY_RV515)
OUTMC(pScrn, RV515_MC_INIT_MISC_LAT_TIMER, mc_init_misc_lat_timer);
- else if (info->ChipFamily == CHIP_FAMILY_RS690)
+ else if ((info->ChipFamily == CHIP_FAMILY_RS690) ||
+ (info->ChipFamily == CHIP_FAMILY_RS740))
OUTMC(pScrn, RS690_MC_INIT_MISC_LAT_TIMER, mc_init_misc_lat_timer);
}