[Bug 45503] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugs.freedesktop.org/show_bug.cgi?id=45503

--- Comment #10 from mlambda@xxxxxxxxx 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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux