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