Bug#508999: more on 508999 (lenny with wrong frequencies on Radeon Xpress 200)
Alex Deucher
alexdeucher at gmail.com
Mon Dec 22 08:03:14 PST 2008
On Mon, Dec 22, 2008 at 5:17 AM, Bernhard R. Link <brlink at debian.org> wrote:
> * Alex Deucher <alexdeucher at gmail.com> [081222 10:18]:
>> We only use the lower 8 bits because bits 9:8 select the pll dividers
>> to use; changing it breaks some chips. Some rv410 chips have a
>> similar issue. Does this patch fix it for you?
>
> The patch does not apply cleanly on the lenny version, it looks like the
> first two lines of this are swapped:
>
>> RADEONRestoreFP2Registers(pScrn, info->ModeReg);
>> RADEONRestoreDVOChip(pScrn, output);
>> + if ((radeon_crtc->crtc_id == 0) && info->IsIGP)
>> + RADEONSelDiv0(pScrn);
>
> Even when I switch those lines so that it applies, it does not work.
>
>> @@ -1419,6 +1423,8 @@ legacy_output_mode_set(xf86OutputPtr output, DisplayModePtr mode,
>> case MT_LCD:
>> ErrorF("restore LVDS\n");
>> RADEONRestoreLVDSRegisters(pScrn, info->ModeReg);
>> + if ((radeon_crtc->crtc_id == 0) && (info->ChipFamily == CHIP_FAMILY_RV410))
>> + RADEONSelDiv0(pScrn);
>> break;
>
> The cards I have here are 1002:5974 and grep 5974 src/radeon_chipinfo_gen.h
> says:
> { 0x5974, CHIP_FAMILY_RS480, 1, 1, 0, 0, 1 },
>
> Thus I added CHIP_FAMILY_RS480 there and then it seems to work. Modified patch
> attached.
>
> BTW: I was quite confused by the "ErrorF" there and first thought that
> was an error path normaly not used and thus a bit perplexed why changing
> that code even helps, but looking at the Xorg.log, it seems to be
> actually called....
Can you try ati from git master with my patch? The version you are
using doesn't properly deal with mobile vs desktop usage of rs4xx
chips (the version is git does). The LVDS path shouldn't be getting
called in your case and I want to make sure the proper paths work
correctly.
Thanks,
Alex
More information about the xorg-driver-ati
mailing list