On 3/22/11 11:24 AM, Forest Bond wrote:
Hi,

On Tue, Mar 22, 2011 at 11:15:27AM -0400, Adam Jackson wrote:
On Tue, 2011-03-22 at 10:31 -0400, Forest Bond wrote:
This patch brings the linux_sysfs backend in parity with other backends,
which assume that VGA devices have fixed rom_size of 0x1000.  On my
machines, the previous behavior invariably gives rom_size = 0.

So cards with ROMs bigger than 64k just get silently truncated?  No
thanks.

Sorry, the details are beyond me.  Is this better (untested)?

Better, but I still feel like you've got something else weird going on. What does the resource file for your VGA device contain anyway?

# cat /sys/bus/pci/devices/FOO/resource

... where FOO is the domain:bus:device.function for your VGA device.

- ajax
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to