radeonfb support for Sapphire X550 Silent
Jakub Zawadzki <[email protected]> Thu, 18 Oct 2007 20:16:53 +0200
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
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-
--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: attachment; filename="radeon_pci_register.log"
Oct 18 14:50:22 localhost kernel: radeonfb_pci_register BEGIN
Oct 18 14:50:22 localhost kernel: ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
Oct 18 14:50:22 localhost kernel: ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
Oct 18 14:50:22 localhost kernel: radeonfb (0000:05:00.0): Found 131072k of DDR 64 bits wide videoram
Oct 18 14:50:22 localhost kernel: radeonfb (0000:05:00.0): mapped 16384k videoram
Oct 18 14:50:22 localhost kernel: radeonfb: Found Intel x86 BIOS ROM Image
Oct 18 14:50:22 localhost kernel: radeonfb: Retrieved PLL infos from BIOS
Oct 18 14:50:22 localhost kernel: radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=400.00 Mhz, System=200.00 MHz
Oct 18 14:50:22 localhost kernel: radeonfb: PLL min 20000 max 40000
Oct 18 14:50:22 localhost kernel: 1 chips in connector info
Oct 18 14:50:22 localhost kernel: - chip 1 has 2 connectors
Oct 18 14:50:22 localhost kernel: * connector 0 of type 2 (CRT) : 2300
Oct 18 14:50:22 localhost kernel: * connector 1 of type 3 (DVI-I) : 3221
Oct 18 14:50:22 localhost kernel: Starting monitor auto detection...
Oct 18 14:50:22 localhost kernel: radeonfb: I2C (port 1) ... not found
Oct 18 14:50:22 localhost kernel: radeonfb: I2C (port 2) ... found TMDS panel
Oct 18 14:50:22 localhost kernel: i2c-adapter i2c-2: unable to read EDID block.
Oct 18 14:50:22 localhost last message repeated 2 times
Oct 18 14:50:22 localhost kernel: radeonfb: I2C (port 3) ... not found
Oct 18 14:50:22 localhost kernel: radeonfb: I2C (port 4) ... not found
Oct 18 14:50:22 localhost kernel: radeonfb: I2C (port 2) ... found TMDS panel
Oct 18 14:50:22 localhost kernel: i2c-adapter i2c-2: unable to read EDID block.
Oct 18 14:50:22 localhost last message repeated 2 times
Oct 18 14:50:22 localhost kernel: radeonfb: I2C (port 3) ... not found
Oct 18 14:50:22 localhost kernel: radeonfb: I2C (port 4) ... not found
Oct 18 14:50:22 localhost kernel: radeonfb: Monitor 1 type DFP found
Oct 18 14:50:22 localhost kernel: radeonfb: EDID probed
Oct 18 14:50:22 localhost kernel: radeonfb: Monitor 2 type no found
Oct 18 14:50:22 localhost kernel: Parsing EDID data for panel info
Oct 18 14:50:22 localhost kernel: Setting up default mode based on panel info
Oct 18 14:50:22 localhost kernel: hStart = 1328, hEnd = 1440, hTotal = 1688
Oct 18 14:50:22 localhost kernel: vStart = 1025, vEnd = 1028, vTotal = 1066
Oct 18 14:50:22 localhost kernel: h_total_disp = 0x9f00d2^I hsync_strt_wid = 0xe052a
Oct 18 14:50:22 localhost kernel: v_total_disp = 0x3ff0429^I vsync_strt_wid = 0x30400
Oct 18 14:50:22 localhost kernel: pixclock = 9259
Oct 18 14:50:22 localhost kernel: freq = 10800
Oct 18 14:50:22 localhost kernel: freq = 10800, PLL min = 20000, PLL max = 40000
Oct 18 14:50:22 localhost kernel: ref_div = 12, ref_clk = 2700, output_freq = 21600
Oct 18 14:50:22 localhost kernel: ref_div = 12, ref_clk = 2700, output_freq = 21600
Oct 18 14:50:22 localhost kernel: post div = 0x1
Oct 18 14:50:22 localhost kernel: fb_div = 0x60
Oct 18 14:50:22 localhost kernel: ppll_div_3 = 0x10060
Oct 18 14:50:22 localhost kernel: Console: switching to colour frame buffer device 160x64
Oct 18 14:50:22 localhost kernel: radeonfb (0000:05:00.0): ATI Radeon [c
Oct 18 14:50:22 localhost kernel: radeonfb_pci_register END
--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Linux-fbdev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users
--7JfCtLOvnd9MIVvH--