[Bug 45503] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 2 06:20:36 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45503
--- Comment #10 from mlambda at gmail.com 2012-02-02 06:20:36 PST ---
I just found the solution:
diff -ur a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
--- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c 2012-01-31
22:31:54.000000000 +0100
+++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c 2012-02-02
15:03:32.408629788 +0100
@@ -58,9 +58,12 @@
}
obj = (union acpi_object *)buffer.pointer;
+ printk("obj->buffer.length: %i\n", obj->buffer.length);
+ printk("len: %i\n", len);
memcpy(bios+offset, obj->buffer.pointer, obj->buffer.length);
+ len = obj->buffer.length;
kfree(buffer.pointer);
- return obj->buffer.length;
+ return len;
}
bool radeon_atrm_supported(struct pci_dev *pdev)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the dri-devel
mailing list