lkml.org 
[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Radeon kernel-modesetting on Alpha. Problem reading PCI ROM
Date
Hi Matt

> Jerome and I think that the hang may be caused by being unable to read
> the PCI ROM.

I have been taking a little bit of a look at reading the PCI ROM on a
radeon video card to try to get the radeonhd xserver video driver
going on Alpha. On one of my Alphas the SRM can't post the card so
xserver/radeonhd have to do all the dirty work. I discovered that the
r[567]xx radeon cards need quite a bit of setting up to enable the PCI
ROM. In short, writing to the enable and rom files in the PCI card's
sysfs directory in the prescribed manner isn't sufficient to enable
the ROM.

I wrote a patch to the rhd_dump and rhd_conntest utils of the radeonhd
project, so that they would use libpciaccess to access the registers
and PCI ROM of the radeon r[567]xx cards. Unfortunately my patches
got mangled in posting to the radeonhd list, and I have been
travelling for the last couple of weeks, so they didn't make the
release of radeonhd last week.

The upshot is that I can read the PCI ROM of a Radeon HD2400 card with
my patches applied to rhd_conntest, and I have had Xserver 1.5.3 up
and running with the HD2400 card on a PWS600au.

I can send you the patches to rhd_dump and rhd_conntest if you would
like to try them out.

Cheers
Michael.



\
 
 \ /
  Last update: 2009-04-15 00:23    [W:0.041 / U:32.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site