|
From: Jakub Z. <dar...@da...> - 2007-10-18 18:49:58
|
Hi,
I've got Sapphire X550 Silent (RV370) graphic card (1002:5b63)
This card is not supported by radeonfb (but xf86-video-ati has got
no problems with this card)
radeonfb support many other RV370 card so I tried some
kernel-hacking.
There is already entry for this card in ati_ids.h (PCI_CHIP_RV370_5B63)
So I've just add entry in radeon_base.c
CHIP_DEF(PCI_CHIP_RV370_5B63, RV380, CHIP_HAS_CRTC2),
I've checked also xf86-video-ati sources if my card is handled in any
special way.
#v+
case PCI_CHIP_RV370_5B60:
case PCI_CHIP_RV370_5B62:
case PCI_CHIP_RV370_5B63:
case PCI_CHIP_RV370_5B64:
case PCI_CHIP_RV370_5B65:
info->ChipFamily = CHIP_FAMILY_RV380;
break;
#v-
I've found only these, so I assumed than no,
I recompiled kernel, rebooted, and framebuffer works.
However kernel is unstable, my machine especially running vim (Huh!)
restarts. I see some deadlock before reboot, it last for about 3-4s.
However if I don't run vim it works pretty good (read: it won't reboot)
(And please don't write about changing my $EDITOR ;>)
Yep I know it's strange (or maybe I just incorrectly test it)
Several running of dmesg won't reboot machine.
I really don't know how to debug, because I think it's reboot generated
by hardware and not by kernel (kernel.panic sysctl value is set to 0)
and I'd also commented out emergency_restart() code.
If you have idea what cause restarts, or how I can debug it. I'd be pleased.
In attachment log of radeonfb_pci_register.
(I don't have more logs connected with radeonfb from kernel log)
Also I include some linse from my .config
(I think most important lines, if you want whole I'll send it)
#v+
# Linux kernel version: 2.6.23
CONFIG_X86_64=y
CONFIG_MTRR=y
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_DEBUG=y
#v-
|